equal
deleted
inserted
replaced
5 # |
5 # |
6 # This software may be used and distributed according to the terms |
6 # This software may be used and distributed according to the terms |
7 # of the GNU General Public License, incorporated herein by reference. |
7 # of the GNU General Public License, incorporated herein by reference. |
8 |
8 |
9 class RepoError(Exception): |
9 class RepoError(Exception): |
10 pass |
|
11 |
|
12 class LookupError(RepoError): |
|
13 pass |
10 pass |
14 |
11 |
15 class repository(object): |
12 class repository(object): |
16 def capable(self, name): |
13 def capable(self, name): |
17 '''tell whether repo supports named capability. |
14 '''tell whether repo supports named capability. |