summaryrefslogtreecommitdiffstats
path: root/ffs.py
diff options
context:
space:
mode:
Diffstat (limited to 'ffs.py')
-rw-r--r--ffs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ffs.py b/ffs.py
index 56edb26..94d8833 100644
--- a/ffs.py
+++ b/ffs.py
@@ -7,10 +7,10 @@ class RouterError(Exception):
class Router(object):
- def __init__(self, advroutes=None, **routes):
- if advroutes is None:
- advroutes = {}
- routes.update(advroutes)
+ def __init__(self, _advroutes=None, **routes):
+ if _advroutes is None:
+ _advroutes = {}
+ routes.update(_advroutes)
self.routes = []
for pattern, cls in routes.iteritems():
self.register(pattern, cls)