import CodeError in validation.py, since it uses it
authorGreg Price <price@mit.edu>
Sat, 31 Jan 2009 20:02:54 +0000 (15:02 -0500)
committerGreg Price <price@mit.edu>
Sat, 31 Jan 2009 20:02:54 +0000 (15:02 -0500)
svn path=/trunk/packages/invirt-web/; revision=2064

code/validation.py

index bd3be91..5f2a3ff 100644 (file)
@@ -7,7 +7,7 @@ import string
 import dns.resolver
 from invirt.database import Machine, NIC, Type, Disk, CDROM, Autoinstall
 from invirt.config import structs as config
-from invirt.common import InvalidInput
+from invirt.common import InvalidInput, CodeError
 
 MAX_MEMORY_TOTAL = 512
 MAX_MEMORY_SINGLE = 512