Skip to content

Commit 55e27fa

Browse files
committed
Fix for python2. m[0] -> m.group(0)
1 parent d378f7e commit 55e27fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def find_in_file(filename, regexp):
6666

6767
if not m: return False
6868

69-
return m[0]
69+
return m.group(0)
7070

7171
class AdminTest(object):
7272

0 commit comments

Comments
 (0)