vmm
branchv0.6.x
changeset 174 974bafa59330
parent 168 fd496561acc6
child 175 b241272eb1bd
--- a/vmm	Fri Jan 22 04:31:38 2010 +0000
+++ b/vmm	Sun Jan 24 06:40:38 2010 +0000
@@ -77,7 +77,7 @@
 
 def _getOrder():
     order = ()
-    if vmm.cfgGetInt('misc', 'dovecot_version') > 11:
+    if vmm.cfgDget('misc.dovecot_version') > 11:
         sieve_name = u'sieve'
     else:
         sieve_name = u'managesieve'
@@ -87,7 +87,7 @@
                 (u'aliases', 0), (u'relocated', 0))
     elif argv[1] in (u'ui', u'userinfo'):
         if argc == 4 and argv[3] != u'aliases'\
-        or vmm.cfgGetBoolean('account', 'disk_usage'):
+        or vmm.cfgDget('account.disk_usage'):
             order = ((u'address', 0), (u'name', 0), (u'uid', 1), (u'gid', 1),
                     (u'transport', 0), (u'maildir', 0), (u'disk usage', 0),
                     (u'smtp', 1), (u'pop3', 1), (u'imap', 1), (sieve_name, 1))