diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2007-08-16 12:35:31 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2007-08-16 12:35:31 +0000 |
commit | f4090dbbe933b941a5ea1c1bacdbb9b83fa39256 (patch) | |
tree | 726cdf6623e348606a0d6d4fd72bf9bf3325d495 | |
parent | 9aaccd09d662a5198a9e6d16a2de66e5b2510470 (diff) | |
download | bitbake-f4090dbbe933b941a5ea1c1bacdbb9b83fa39256.tar.gz |
Fix syntax and indention
-rw-r--r-- | lib/bb/fetch/svn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index d5a412293..af8543ab3 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -77,10 +77,10 @@ class Svn(Fetch): if rev and "get_srcrev" in rev: ud.revision = self.latest_revision(url, ud, d) ud.date = "" - else if rev: + elif rev: ud.revision = rev ud.date = "" - else: + else: ud.revision = "" ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) |