Revision d4eaff2f commissioning/api/quotaholder.py

b/commissioning/api/quotaholder.py
1 1

  
2 2
from .specificator  import (CanonifyException, SpecifyException,
3
                            Specificator, Null, Integer, String,
3
                            Specificator, Null, Integer, Text,
4 4
                            Tuple, ListOf, Dict, Args)
5 5

  
6 6
Context             =   Dict(classname='Context')
7 7

  
8
class Name(String):
8
class Name(Text):
9 9
    def init(self):
10 10
        self.opts.update({'regex': "[\w.:]+", 'maxlen':512})
11 11

  

Also available in: Unified diff