[Checkins] SVN: z3c.recipe.usercrontab/trunk/setup.py Removed __file__. No abs paths needed (and it sometimes fails...)

Reinout van Rees reinout at vanrees.org
Wed Sep 23 03:33:30 EDT 2009


Log message for revision 104443:
  Removed __file__. No abs paths needed (and it sometimes fails...)
  

Changed:
  U   z3c.recipe.usercrontab/trunk/setup.py

-=-
Modified: z3c.recipe.usercrontab/trunk/setup.py
===================================================================
--- z3c.recipe.usercrontab/trunk/setup.py	2009-09-23 07:04:05 UTC (rev 104442)
+++ z3c.recipe.usercrontab/trunk/setup.py	2009-09-23 07:33:30 UTC (rev 104443)
@@ -15,7 +15,7 @@
 name = 'z3c.recipe.usercrontab'
 
 def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    return open(os.path.join(*rnames)).read()
 
 setup(name=name,
       version=version,



More information about the checkins mailing list