commit: eceecd8b3bbef0ec7b19662bb763ed6a4a5cf6cf
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 13 18:40:50 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Thu Nov 13 18:40:50 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=eceecd8b
maker.py: Fix 'xml undefined' error detected by pyflakes
---
layman/maker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layman/maker.py b/layman/maker.py
index 3393d1b..8cf725f 100644
--- a/layman/maker.py
+++ b/layman/maker.py
@@ -452,7 +452,7 @@ class Interactive(object):
'''
try:
document = ET.parse(path)
- except xml.etree.ElementTree.ParseError as error:
+ except ET.ParseError as error:
msg = 'Interactive.read(); encountered error: %(error)s'\
% ({'error': error})
raise Exception(msg)