[damned-lies] Add dot as valid char in branch names
- From: Claude Paroz <claudep src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [damned-lies] Add dot as valid char in branch names
 
- Date: Sat, 17 Apr 2010 18:27:32 +0000 (UTC)
 
commit bc8d34ccf8f3ec458b181a67fda5a2d34d428044
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Apr 17 20:26:42 2010 +0200
    Add dot as valid char in branch names
 urls.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/urls.py b/urls.py
index 4eeeb87..dbdd225 100644
--- a/urls.py
+++ b/urls.py
@@ -67,10 +67,10 @@ urlpatterns += patterns('stats.views',
         regex = r'^module/(?P<module_name>[\w\-\+]+)/edit/branches/$',
         view = 'module_edit_branches'),
     url(
-        regex = r'^module/(?P<module_name>[\w\-\+]+)/branch/(?P<branch_name>[\w-]+)/$',
+        regex = r'^module/(?P<module_name>[\w\-\+]+)/branch/(?P<branch_name>[\w\-\.]+)/$',
         view = 'module_branch'),
     url(
-        regex = r'^module/(?P<module_name>[\w\-\+]+)/(?P<potbase>[\w~-]+)/(?P<branch_name>[\w-]+)/(?P<langcode>[\w ]+)/images/$',
+        regex = r'^module/(?P<module_name>[\w\-\+]+)/(?P<potbase>[\w~-]+)/(?P<branch_name>[\w\-\.]+)/(?P<langcode>[\w ]+)/images/$',
         view = 'docimages'),
     url(
         regex = r'^releases/(?P<format>(html|json|xml))?/?$',
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]