fix for crontab
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 18 Jun 2010 09:09:04 +0000 (11:09 +0200)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 18 Jun 2010 09:09:04 +0000 (11:09 +0200)
module-tools.py

index 7f1106f..7cc0f15 100755 (executable)
@@ -386,7 +386,7 @@ class Module:
     configKeys=[ ('svnpath',"Enter your toplevel svnpath",
                   "svn+ssh://%s@svn.planet-lab.org/svn/"%commands.getoutput("id -un")),
                  ('gitserver', "Enter your git server's hostname", "git.onelab.eu"),
-                 ('gituser', "Enter your user name (login name) on git server", os.getlogin()),
+                 ('gituser', "Enter your user name (login name) on git server", commands.getoutput("id -un")),
                  ("build", "Enter the name of your build module","build"),
                  ('username',"Enter your firstname and lastname for changelogs",""),
                  ("email","Enter your email address for changelogs",""),