Index: trac/Environment.py
===================================================================
--- trac/Environment.py	(revision 702)
+++ trac/Environment.py	(working copy)
@@ -182,7 +182,13 @@
     def get_config_items(self, section):
         if not self.cfg.has_section(section):
             return None
-        return self.cfg.items(section)
+        try:
+            return self.cfg.items(section)
+        except AttributeError:
+            items=[]
+            for option in self.cfg.options(section):
+                items.append((option,self.cfg.get(section,option)))
+            return items    
 
     def save_config(self):
         self.cfg.write(open(os.path.join(self.path, 'conf', 'trac.ini'), 'w'))

