diff getan/project.py @ 136:92b7582b8f44

Use new style classes
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 31 Oct 2012 14:22:23 +0100
parents ce707fbb9666
children 5a4946fd9e6d
line wrap: on
line diff
--- a/getan/project.py	Wed Oct 31 14:21:44 2012 +0100
+++ b/getan/project.py	Wed Oct 31 14:22:23 2012 +0100
@@ -10,7 +10,7 @@
 
 from datetime import datetime, timedelta
 
-class Project:
+class Project(object):
 
     def __init__(self, id, key, desc, total):
         self.id      = id
@@ -60,7 +60,7 @@
         return total
 
 
-class Entry:
+class Entry(object):
 
     def __init__(self, id, project_id, start, end, desc):
         self.id         = id
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)