fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document validation (stub)
[librarian.git]
/
librarian
/
utils.py
diff --git
a/librarian/utils.py
b/librarian/utils.py
index
a2e3522
..
04b6d69
100755
(executable)
--- a/
librarian/utils.py
+++ b/
librarian/utils.py
@@
-26,7
+26,7
@@
class Context(object):
elif self._upctx is not None:
return getattr(self._upctx, name)
else:
elif self._upctx is not None:
return getattr(self._upctx, name)
else:
- raise AttributeError
, "'%s' object has no attribute '%s'" % (type(self), name
)
+ raise AttributeError
("'%s' object has no attribute '%s'" % (type(self), name)
)
def __setattr__(self, name, value):
try:
def __setattr__(self, name, value):
try:
@@
-44,7
+44,7
@@
class Context(object):
class XMLNamespace(object):
class XMLNamespace(object):
- '''A handy structure to repsent names in an XML namespace.'''
+ """A handy structure to repsent names in an XML namespace."""
def __init__(self, uri):
self.uri = uri
def __init__(self, uri):
self.uri = uri