diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-26 16:49:02 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-26 16:49:02 +0000 |
commit | 7af9332bacd95b89f29f4262d5f74074e5306124 (patch) | |
tree | 3ae0f40649d33a6e0e0f6926f939f6a3083f8fa3 /lib | |
parent | bda354bdcb58114d0b3af376e95fd103343f5145 (diff) | |
download | bitbake-7af9332bacd95b89f29f4262d5f74074e5306124.tar.gz |
fetch/hg.py: Properly format the command if the user URI parameter is empty.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/fetch/hg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/hg.py b/lib/bb/fetch/hg.py index 1cd5a8aa5..b87fd0fbe 100644 --- a/lib/bb/fetch/hg.py +++ b/lib/bb/fetch/hg.py @@ -79,7 +79,7 @@ class Hg(Fetch): host = "/" ud.host = "localhost" - if ud.user == None: + if not ud.user: hgroot = host + ud.path else: hgroot = ud.user + "@" + host + ud.path |