Mercurial > treepkg
diff bin/treepkgbuilder.py @ 201:6624e731e218
Add login command to bin/treepkgbuilder.py and corresponding method in
to the PBuilder class
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 20 Aug 2008 13:37:52 +0000 |
parents | eaadf5350a1a |
children | 63f73bb9c459 |
line wrap: on
line diff
--- a/bin/treepkgbuilder.py Wed Aug 20 13:30:21 2008 +0000 +++ b/bin/treepkgbuilder.py Wed Aug 20 13:37:52 2008 +0000 @@ -120,6 +120,14 @@ builder.add_apt_key(self.opts.key_id) +class LoginCommand(Command): + + names = ("login",) + + def run(self): + self.get_builder().login() + + class HelpCommand(Command): names = ("help", "--help", "-h")