summarylogtreecommitdiffstats
path: root/print-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'print-version.sh')
-rwxr-xr-xprint-version.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/print-version.sh b/print-version.sh
index c91cb23c4c96..1a9870b9dae0 100755
--- a/print-version.sh
+++ b/print-version.sh
@@ -1,13 +1,9 @@
#!/usr/bin/env sh
#
-# Print the currently installed factory_boy versions.
+# Print the currently installed factory_boy version.
#
-for interpreter in python python2; do
-"${interpreter}" - <<EOF
+python - <<EOF
import factory
-import sys
-print('Python version: {}'.format(tuple(sys.version_info)))
print('Factory Boy version: {}'.format(factory.__version__))
EOF
-done