Mercurial > treepkg
comparison 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 |
comparison
equal
deleted
inserted
replaced
200:ce03e24f6d0f | 201:6624e731e218 |
---|---|
118 def run(self): | 118 def run(self): |
119 builder = self.get_builder() | 119 builder = self.get_builder() |
120 builder.add_apt_key(self.opts.key_id) | 120 builder.add_apt_key(self.opts.key_id) |
121 | 121 |
122 | 122 |
123 class LoginCommand(Command): | |
124 | |
125 names = ("login",) | |
126 | |
127 def run(self): | |
128 self.get_builder().login() | |
129 | |
130 | |
123 class HelpCommand(Command): | 131 class HelpCommand(Command): |
124 | 132 |
125 names = ("help", "--help", "-h") | 133 names = ("help", "--help", "-h") |
126 | 134 |
127 def run(self): | 135 def run(self): |