[Checkins] SVN: grokproject/trunk/ Fixed bug: using the ``--svn-repository`` option would fail with an OSError.

Maurits van Rees m.van.rees at zestsoftware.nl
Thu Oct 16 18:10:43 EDT 2008


Log message for revision 92287:
  Fixed bug: using the ``--svn-repository`` option would fail with an OSError.
  

Changed:
  U   grokproject/trunk/CHANGES.txt
  U   grokproject/trunk/grokproject/templates.py

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2008-10-16 21:32:20 UTC (rev 92286)
+++ grokproject/trunk/CHANGES.txt	2008-10-16 22:10:42 UTC (rev 92287)
@@ -4,8 +4,10 @@
 0.10 (unreleased)
 -----------------
 
-...
+* Fixed bug: using the ``--svn-repository`` option would fail with an
+  OSError.
 
+
 0.9 (2008-09-29)
 ----------------
 

Modified: grokproject/trunk/grokproject/templates.py
===================================================================
--- grokproject/trunk/grokproject/templates.py	2008-10-16 21:32:20 UTC (rev 92286)
+++ grokproject/trunk/grokproject/templates.py	2008-10-16 22:10:42 UTC (rev 92287)
@@ -103,5 +103,7 @@
     def post(self, command, output_dir, vars):
         if not vars['run_buildout']:
             return
+        original_dir = os.getcwd()
         os.chdir(vars['project'])
         run_buildout(command.options.verbose)
+        os.chdir(original_dir)



More information about the Checkins mailing list