projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e7dda23
)
import CodeError in validation.py, since it uses it
author
Greg Price
<price@mit.edu>
Sat, 31 Jan 2009 20:02:54 +0000
(15:02 -0500)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/code/validation.py
b/code/validation.py
index
bd3be91
..
5f2a3ff
100644
(file)
--- a/
code/validation.py
+++ b/
code/validation.py
@@
-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