jhbuild r1957 - in trunk: . scripts



Author: fpeters
Date: Tue Mar 18 12:41:01 2008
New Revision: 1957
URL: http://svn.gnome.org/viewvc/jhbuild?rev=1957&view=rev

Log:
* scripts/hg-update.py: import names from subprocess module, and
removed debugging line.  (really closes: #523150, thanks John Spray)



Modified:
   trunk/ChangeLog
   trunk/scripts/hg-update.py

Modified: trunk/scripts/hg-update.py
==============================================================================
--- trunk/scripts/hg-update.py	(original)
+++ trunk/scripts/hg-update.py	Tue Mar 18 12:41:01 2008
@@ -27,8 +27,8 @@
 except ImportError: # Python < 2.4 lacks subprocess module
     sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
     from jhbuild.cut_n_paste import subprocess
-    print 'subprocess module:', subprocess
     sys.modules['subprocess'] = subprocess
+    from subprocess import Popen, call, PIPE, STDOUT
 
 def get_parent():
     hg = Popen(['hg', 'parents', '--template', '{rev}'], stdout=PIPE)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]