# HG changeset patch # User Sylvain Thénault # Date 1276845901 -7200 # Node ID 7c16a4e7a592e3d14c9e9ee7e43c5ae5de82e053 # Parent c0661b963ced6f8b6e8c9e8b61e6c89760aba42d [test] fix stupd name error diff -r c0661b963ced -r 7c16a4e7a592 devtools/fill.py --- a/devtools/fill.py Fri Jun 18 09:07:41 2010 +0200 +++ b/devtools/fill.py Fri Jun 18 09:25:01 2010 +0200 @@ -16,9 +16,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""This modules defines func / methods for creating test repositories +"""This modules defines func / methods for creating test repositories""" -""" __docformat__ = "restructuredtext en" from random import randint, choice diff -r c0661b963ced -r 7c16a4e7a592 devtools/testlib.py --- a/devtools/testlib.py Fri Jun 18 09:07:41 2010 +0200 +++ b/devtools/testlib.py Fri Jun 18 09:25:01 2010 +0200 @@ -335,7 +335,7 @@ def restore_connection(self): if not self.cnx is self._orig_cnx[0]: - if not cnx._closed: + if not self.cnx._closed: self.cnx.close() try: self._cnxs.remove(self.cnx) diff -r c0661b963ced -r 7c16a4e7a592 web/views/urlrewrite.py --- a/web/views/urlrewrite.py Fri Jun 18 09:07:41 2010 +0200 +++ b/web/views/urlrewrite.py Fri Jun 18 09:25:01 2010 +0200 @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""Rules based url rewriter component, to get configurable RESTful urls. +"""Rules based url rewriter component, to get configurable RESTful urls""" -""" import re from cubicweb import typed_eid