Skip to content

Commit

Permalink
get properties don't accept arguments
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
bbangert committed Feb 14, 2010
1 parent aaaf283 commit e99a87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beaker/session.py
Expand Up @@ -184,7 +184,7 @@ def _set_domain(self, domain):
self.request['cookie_out'] = self.cookie[self.key].output(header='')
self.request['set_cookie'] = True

def _get_domain(self, domain):
def _get_domain(self):
return self._domain

domain = property(_get_domain, _set_domain)
Expand All @@ -195,7 +195,7 @@ def _set_path(self, path):
self.request['cookie_out'] = self.cookie[self.key].output(header='')
self.request['set_cookie'] = True

def _get_path(self, domain):
def _get_path(self):
return self._path

path = property(_get_path, _set_path)
Expand Down

0 comments on commit e99a87f

Please sign in to comment.