[sysadmin-bin] fix syntax



commit 1a58fcd5817d103d8c24f2ef91ea82cf5a5f414c
Author: Olav Vitters <olav vitters nl>
Date:   Mon Mar 7 22:37:34 2011 +0100

    fix syntax

 gnomeweb/update_sites.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomeweb/update_sites.py b/gnomeweb/update_sites.py
index 6f85d9f..2b21d36 100755
--- a/gnomeweb/update_sites.py
+++ b/gnomeweb/update_sites.py
@@ -211,7 +211,7 @@ def update_module(module, checkfile, moduleroot, url, owner, branch='master', ve
         # Update the original module first, then update this module
         if not update_module_real(url, real_remote_url, verbose=verbose):
             return False
-        if branch != 'master' and not os.path.exists(os.path.join(moduleroot, .git)):
+        if branch != 'master' and not os.path.exists(os.path.join(moduleroot, ".git")):
             try:
                 os.chdir(url)
                 git.branch(branch, 'origin/%s' %branch)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]