From: Greg KH Date: Thu, 24 Jul 2008 00:03:13 +0000 (-0700) Subject: parse the config file _after_ we have read the command line options X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5234a1f726ba264e58095447439d98cdff5ffd9c;p=people%2Flarsk%2Fxenproject-org-gitdm.git parse the config file _after_ we have read the command line options Otherwise it doesn't matter if we change the config file option or not... Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jonathan Corbet --- diff --git a/gitdm b/gitdm index 9e82bcc..d953120 100755 --- a/gitdm +++ b/gitdm @@ -412,9 +412,8 @@ def ReportByESOBs (elist): EndReport () # -# Here starts the real program. Read the config files. +# Here starts the real program. # -ConfigFile.ConfigFile (CFName) # # Let's pre-seed the database with a couple of hackers @@ -429,6 +428,11 @@ NextLine = sys.stdin.readline () TotalChanged = TotalAdded = TotalRemoved = 0 ParseOpts () +# +# Read the config files. +# +ConfigFile.ConfigFile (CFName) + # # Snarf changesets. #