projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
osm.py: reorganized commands related to pkg_repo_list to be together
[osm/osmclient.git]
/
osmclient
/
sol005
/
repo.py
diff --git
a/osmclient/sol005/repo.py
b/osmclient/sol005/repo.py
index
7a31397
..
cc82402
100644
(file)
--- a/
osmclient/sol005/repo.py
+++ b/
osmclient/sol005/repo.py
@@
-129,7
+129,7
@@
class Repo(object):
if resp:
resp = json.loads(resp)
if not resp or '_id' not in resp:
if resp:
resp = json.loads(resp)
if not resp or '_id' not in resp:
- raise ClientException('failed to get repo info: '.format(resp))
+ raise ClientException('failed to get repo info:
{}
'.format(resp))
return resp
except NotFound:
raise NotFound("Repo {} not found".format(name))
return resp
except NotFound:
raise NotFound("Repo {} not found".format(name))