Skip to content

Commit

Permalink
removed extra comments, edited readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adasilva committed Nov 13, 2014
1 parent 9611391 commit 7efe457
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The dependencies listed in the following sections must also be met.

All users
---------
* Python 2.7 or higher
* Python 2.6 or higher

Third party programs as backends:

Expand Down
1 change: 0 additions & 1 deletion journal2ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def __init__(self,parent,filename):
file.close()

f=open(self.configFile,'r')
# Following line changed from dictionary comprehension to dict([list comprehension]) to support Python 2.6
self.configVars=dict([(line.split(':')[0].replace(' ',''),line.split(':')[1].lstrip().rstrip('\n')) for line in f]) #dictionary of configuration variables
f.close()

Expand Down
1 change: 0 additions & 1 deletion src/journal2ebook
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class Journal2ebook:
file.close()

f=open(self.configFile,'r')
# Following line changed from dictionary comprehension to dict([list comprehension]) to support Python 2.6
self.configVars=dict([(line.split(':')[0].replace(' ',''),line.split(':')[1].lstrip().rstrip('\n')) for line in f]) #dictionary of configuration variables
f.close()

Expand Down

0 comments on commit 7efe457

Please sign in to comment.