Index: dirspec-13.10/dirspec/utils.py
===================================================================
--- dirspec-13.10.orig/dirspec/utils.py	2013-08-05 12:52:40.000000000 -0400
+++ dirspec-13.10/dirspec/utils.py	2015-09-20 17:32:52.764379283 -0400
@@ -145,8 +145,9 @@
         # per http://msdn.microsoft.com/en-us/library/windows/desktop/bb762181,
         # SHGetFolderPath is deprecated, replaced by SHGetKnownFolderPath
         # (http://msdn.microsoft.com/en-us/library/windows/desktop/bb762188)
-        get_path = lambda name: shell.SHGetFolderPath(
-            0, getattr(shellcon, name), None, 0).encode('utf8')
+        def get_path(name):
+            return shell.SHGetFolderPath(0, getattr(shellcon, name),
+                                         None, 0).encode('utf8')
         special_folders['Personal'] = get_path("CSIDL_PROFILE")
         special_folders['Local AppData'] = get_path("CSIDL_LOCAL_APPDATA")
         special_folders['AppData'] = os.path.dirname(
@@ -171,8 +172,8 @@
     default_config_path = b'/Library/Preferences:/etc/xdg'
     default_config_home = os.path.join(user_home, b'Library', b'Preferences')
     default_data_path = b':'.join([b'/Library/Application Support',
-                                  b'/usr/local/share',
-                                  b'/usr/share'])
+                                   b'/usr/local/share',
+                                   b'/usr/share'])
     default_data_home = os.path.join(user_home, b'Library',
                                      b'Application Support')
 else:
