diff -r cf85d78486ce -r 014335f38962 update_config_0.4.x-0.5.py --- a/update_config_0.4.x-0.5.py Wed Aug 19 09:52:24 2009 +0000 +++ b/update_config_0.4.x-0.5.py Thu Aug 20 01:22:53 2009 +0000 @@ -14,8 +14,9 @@ def get_config_file(): f = None for d in ('/root', '/usr/local/etc', '/etc'): - if os.path.isfile(d+'/vmm.cfg'): - f = d+'/vmm.cfg' + tmp = os.path.join(d, 'vmm.cfg') + if os.path.isfile(tmp): + f = tmp break if f: return f