subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1505153 - /subversion/trunk/build/generator/gen_win_dependencies.py
Date Sat, 20 Jul 2013 15:33:04 GMT
Author: rhuijben
Date: Sat Jul 20 15:33:04 2013
New Revision: 1505153

URL: http://svn.apache.org/r1505153
Log:
Following up on r1505152, some housekeeping. No functional changes.

* build/generator/gen_win_dependencies.py
  (imports): Remove some unused imports.
  (_find_jdk): Remove two print statements used for testing.

Modified:
    subversion/trunk/build/generator/gen_win_dependencies.py

Modified: subversion/trunk/build/generator/gen_win_dependencies.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_win_dependencies.py?rev=1505153&r1=1505152&r2=1505153&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_win_dependencies.py (original)
+++ subversion/trunk/build/generator/gen_win_dependencies.py Sat Jul 20 15:33:04 2013
@@ -31,11 +31,7 @@ import sys
 import fnmatch
 import re
 import subprocess
-import glob
 import string
-import generator.swig.header_wrappers
-import generator.swig.checkout_swig_header
-import generator.swig.external_runtime
 
 if sys.version_info[0] >= 3:
   # Python >=3.0
@@ -844,7 +840,6 @@ class GenDependenciesBase(gen_base.Gener
                                '-version'], stdout=subprocess.PIPE).stdout
       line = outfp.read()
       if line:
-        print(line)
         vermatch = re.compile(r'"(([0-9]+(\.[0-9]+)+)(_[._0-9]+)?)"', re.M) \
                    .search(line)
       else:
@@ -853,7 +848,6 @@ class GenDependenciesBase(gen_base.Gener
       if vermatch:
         version = tuple(map(int, vermatch.groups()[1].split('.')))
         versionstr = vermatch.groups()[0]
-        print(version)
       else:
         if show_warnings:
           print('Could not find installed JDK,')



Mime
View raw message