Index: dirspec-13.10/dirspec/utils.py
===================================================================
--- dirspec-13.10.orig/dirspec/utils.py	2015-09-20 17:39:09.583750158 -0400
+++ dirspec-13.10/dirspec/utils.py	2015-09-20 17:40:10.171648942 -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(
