Merge branch 'master' into python3
authorFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 Jul 2012 00:16:28 +0000 (02:16 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 Jul 2012 00:17:59 +0000 (02:17 +0200)
1  2 
wrw/cookie.py
wrw/session.py
wrw/sp/util.py

diff --cc wrw/cookie.py
@@@ -27,9 -27,10 +27,10 @@@ class cookiedict(object)
              return default
          return self.bk[name].value
  
-     def add(self, name, value, path = None):
+     def add(self, name, value, **kw):
          self.codec[name] = value
-         if path is not None: self.codec[name]["path"] = path
 -        for key, value in kw.iteritems():
++        for key, value in kw.items():
+             self.codec[name][key] = value
  
      def __setitem__(self, name, value):
          self.add(name, value)
diff --cc wrw/session.py
Simple merge
diff --cc wrw/sp/util.py
Simple merge