summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2008-11-20 15:31:25 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2008-11-20 15:31:25 -0500
commite97d1d84ff05a7db431ba1e9a03955c4e2f7affb (patch)
tree17d4726ed212289e30f1326964aba6b0484616ad
parentdfbb6f7cdeb2b307678728801d466d207759372f (diff)
Minor indentation tweak
Tweak style from last patch to match personal preference.
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index ab9289c..ad84321 100755
--- a/git-bz
+++ b/git-bz
@@ -444,8 +444,8 @@ def get_bugzilla_cookies(host):
if not cp.has_option(section, "Path"):
continue
- if profile_path is None or (
- cp.has_option(section, "Default") and cp.get(section, "Default").strip() == "1"):
+ if (not profile_path or
+ (cp.has_option(section, "Default") and cp.get(section, "Default").strip() == "1")):
profile_path = os.path.join(profiles_dir, cp.get(section, "Path").strip())
if not profile_path: