--- 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 <http://www.gnu.org/licenses/>.
-"""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
--- 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)
--- 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 <http://www.gnu.org/licenses/>.
-"""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