[SCM] morituri/master: * morituri/rip/main.py: More debug info: args, version, revision.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:22 UTC 2014
The following commit has been merged in the master branch:
commit cc5a2c39e8a2c5fbdaca70c92b39829c88596aab
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Wed May 18 23:57:25 2011 +0000
* morituri/rip/main.py:
More debug info: args, version, revision.
diff --git a/ChangeLog b/ChangeLog
index edb096d..106eb11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
+ * morituri/rip/main.py:
+ More debug info: args, version, revision.
+
+2011-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
+
* morituri/configure/configure.py (svn:keywords):
Expand revision.
* morituri/configure/configure.py:
diff --git a/morituri/rip/main.py b/morituri/rip/main.py
index 413fbe0..a31ee55 100644
--- a/morituri/rip/main.py
+++ b/morituri/rip/main.py
@@ -44,7 +44,8 @@ You can get help on subcommands by using the -h option to the subcommand.
# FIXME: is this the right place ?
log.init()
from morituri.configure import configure
- log.debug("morituri", "This is morituri version %s" % configure.version)
+ log.debug("morituri", "This is morituri version %s (%s)",
+ configure.version, configure.revision)
self.parser.add_option('-v', '--version',
action="store_true", dest="version",
@@ -55,3 +56,7 @@ You can get help on subcommands by using the -h option to the subcommand.
from morituri.configure import configure
print "rip %s" % configure.version
sys.exit(0)
+
+ def parse(self, argv):
+ log.debug("morituri", "rip %s" % " ".join(argv))
+ logcommand.LogCommand.parse(self, argv)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list