aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/fetch/hg.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/hg.py')
-rw-r--r--bitbake-dev/lib/bb/fetch/hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/hg.py b/bitbake-dev/lib/bb/fetch/hg.py
index 1cd5a8aa5c..b87fd0fbe5 100644
--- a/bitbake-dev/lib/bb/fetch/hg.py
+++ b/bitbake-dev/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