[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Comment out print()s and sys.stdout.write()s in setup.py.
commit bdc23b29901f78356ec5e2d65206ae61b9f89893
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sun Jan 19 19:04:38 2014 +0000
Comment out print()s and sys.stdout.write()s in setup.py.
---
setup.py | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/setup.py b/setup.py
index 4359fed..5ec2d79 100644
--- a/setup.py
+++ b/setup.py
@@ -163,7 +163,7 @@ def get_supported_langs():
for line in langsfile.readlines():
if line.startswith('supported'):
line = "supported = %s\n" % supported
- print("REWROTE supported langs: %s" % line)
+ #print("REWROTE supported langs: %s" % line)
new_langs_lines.append(line)
with open(repo_langs, 'w') as newlangsfile:
for line in new_langs_lines:
@@ -226,7 +226,7 @@ def get_data_files(filesonly=False):
for ldir, lfile in zip(lang_dirs, lang_files):
data_files.append((ldir, [lfile,]))
- [sys.stdout.write("Added data_file '%s'\n" % x) for x in data_files]
+ #[sys.stdout.write("Added data_file '%s'\n" % x) for x in data_files]
return data_files
@@ -257,12 +257,8 @@ class runTests(setuptools.Command):
sys.path = old_path
-requires, deplinks = get_requirements()
-print('Found requirements:')
-[print('\t%s' % name) for name in requires]
-print('Found dependency links:')
-[print('\t%s' % uri) for uri in deplinks]
+requires, deplinks = get_requirements()
setuptools.setup(
name='bridgedb',
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits