VirtualMailManager/account.py
branchv0.7.x
changeset 670 f374ef062c94
parent 662 9ec7770193ad
child 676 2bc11dada296
--- a/VirtualMailManager/account.py	Sun Dec 30 16:41:19 2012 +0000
+++ b/VirtualMailManager/account.py	Sun Dec 30 18:08:23 2012 +0000
@@ -133,7 +133,7 @@
 
         `column` : basestring
           Name of the table column. Currently: qid, ssid and tid
-        `value` : long
+        `value` : int
           The referenced key
         """
         if column not in ('qid', 'ssid', 'tid'):
@@ -460,7 +460,7 @@
 
     Argument:
 
-    `uid` : long
+    `uid` : int
       The Account unique ID.
     `dbh` : pyPgSQL.PgSQL.Connection
       a database connection for the database access.
@@ -468,7 +468,7 @@
     try:
         uid = int(uid)
     except ValueError:
-        raise AErr(_('UID must be an int/long.'), INVALID_ARGUMENT)
+        raise AErr(_('UID must be an integer.'), INVALID_ARGUMENT)
     if uid < 1:
         raise AErr(_('UID must be greater than 0.'), INVALID_ARGUMENT)
     dbc = dbh.cursor()