diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-29 10:59:58 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-29 10:59:58 +0100 |
commit | 2a55ea801706c29b9aadeddc626632f1835c81fb (patch) | |
tree | a8e48f18a8f77d9d7db4e6d08f8ba862c94e4890 | |
parent | f3c6116f948272ff1a1929c2441185cf6e86afc2 (diff) | |
download | unperish-2a55ea801706c29b9aadeddc626632f1835c81fb.tar.gz |
Add dsc command.
-rwxr-xr-x | unperish | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,9 +73,12 @@ class Unperish(cliapp.Application): def cmd_debian_tarball(self, args): origtar = self.join(self.debian_tarball) - print 'origar:', origtar self.runcmd('bzr', 'export', origtar) + def cmd_dsc(self, args): + self.runcmd('dpkg-source', '-b', self.dirname, + cwd=self.settings['build-area']) + def read_meta(self): cp = ConfigParser.RawConfigParser() cp.read(self.metafilename) |