diff options
author | 2015-02-14 18:03:16 -0500 | |
---|---|---|
committer | 2015-02-14 18:53:05 -0500 | |
commit | 3ee71a5ccebfecaead8676990c73d8a76a34c8de (patch) | |
tree | 406b9fef0def860165f7a14dafe19db81b3b07e6 | |
parent | domain: pull the generate filter function out of the domain (diff) | |
download | pkgcore-3ee71a5ccebfecaead8676990c73d8a76a34c8de.tar.gz pkgcore-3ee71a5ccebfecaead8676990c73d8a76a34c8de.tar.bz2 pkgcore-3ee71a5ccebfecaead8676990c73d8a76a34c8de.zip |
commandline: fix --version output for pcheck (and other optparse tools)
-rw-r--r-- | pkgcore/util/commandline_optparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgcore/util/commandline_optparse.py b/pkgcore/util/commandline_optparse.py index 0147d2807..36bb40dfa 100644 --- a/pkgcore/util/commandline_optparse.py +++ b/pkgcore/util/commandline_optparse.py @@ -347,7 +347,7 @@ class OptionParser(optparse.OptionParser, object): Overridden because the optparse one is a noop if self.version is false. """ - print(self.get_version, file=file) + print(self.get_version(), file=file) def _add_version_option(self): """Override this to be a no-op. |