Public » Kiln Backup
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

use the right config parsers everywhere

Changeset e9e9b5a89b99

Parent 4dedbcc754aa

by Root

Changes to one file · Browse files at e9e9b5a89b99 Showing diff from parent 4dedbcc754aa Diff from another changeset...

Change 1 of 2 Show Entire File kilnbackup.py Stacked
 
23
24
25
26
 
27
28
29
 
94
95
96
97
 
98
99
100
 
23
24
25
 
26
27
28
29
 
94
95
96
 
97
98
99
100
@@ -23,7 +23,7 @@
   import ConfigParser, sys, urllib, urllib2, cookielib, os, subprocess, shutil, time   -config = ConfigParser.ConfigParser() +config = ConfigParser.RawConfigParser()  config.read("kilnbackup.cfg")    save = False @@ -94,7 +94,7 @@
  name = os.path.split(repo["url"])[-1]     if (os.path.exists(name)): - hgrc = ConfigParser.ConfigParser() + hgrc = ConfigParser.SafeConfigParser()   hgrc.read("%s/.hg/hgrc" % name)     if not hgrc.has_section('paths') or hgrc.get('paths', 'default') != url: