git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d372865
)
Fix IndentationError.
author
Steven Black
<redacted>
Sat, 21 Nov 2015 03:12:57 +0000
(22:12 -0500)
committer
Steven Black
<redacted>
Sat, 21 Nov 2015 03:12:57 +0000
(22:12 -0500)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 07cd7047258d7f0794feb6d9347833bb79671e3c..9d4df4b59dfad7cd749a4e1da4b0386ae75ffa67 100755
(executable)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-190,8
+190,8
@@
def updateAllSources():
def getUpdateURLFromFile( source ):
pathToUpdateFile = os.path.join( DATA_PATH, source, UPDATE_URL_FILENAME )
if os.path.exists( pathToUpdateFile ):
- updateFile = open( pathToUpdateFile, 'r' )
- retURL = updateFile.readline().strip()
+
updateFile = open( pathToUpdateFile, 'r' )
+
retURL = updateFile.readline().strip()
updateFile.close()
else:
retURL = None
git clone https://git.99rst.org/PROJECT