Commits

cboos  committed 7805757

0.12.1dev: ported r9924, fix for deploy

  • Participants
  • Parent commits 4f39df1
  • Branches trunk

Comments (0)

Files changed (1)

             template = Chrome(self.env).load_template('deploy_trac.' + script,
                                                       'text')
             stream = template.generate(**data)
-            out = os.fdopen(os.open(dest, os.O_CREAT | os.O_WRONLY), 'w')
+            out = file(dest, 'w')
             try:
                 stream.render('text', out=out)
             finally: