aboutsummaryrefslogtreecommitdiff
path: root/grs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-07-05 08:12:34 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-07-05 08:12:34 -0400
commite3c23c8ed8ac697a9a8fccf8edc5ef850f6a94ac (patch)
tree5568eb8c1afccd88412456a0676f487cfef5d533 /grs
parentgrs/WorldConf.py: make sure package.env exists. (diff)
downloadgrss-e3c23c8ed8ac697a9a8fccf8edc5ef850f6a94ac.tar.gz
grss-e3c23c8ed8ac697a9a8fccf8edc5ef850f6a94ac.tar.bz2
grss-e3c23c8ed8ac697a9a8fccf8edc5ef850f6a94ac.zip
clean-worldconf: remove try-except and fix typo.
Diffstat (limited to 'grs')
-rw-r--r--grs/WorldConf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grs/WorldConf.py b/grs/WorldConf.py
index b9e9be9..481d3a3 100644
--- a/grs/WorldConf.py
+++ b/grs/WorldConf.py
@@ -98,7 +98,7 @@ class WorldConf():
continue
fpath = os.path.join(CONST.PORTAGE_CONFIGDIR, 'package.env')
- if os.path.isile(fpath):
+ if os.path.isfile(fpath):
update = False
with open(fpath, 'r') as g:
lines = g.readlines()