Ejemplo n.º 1
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The '%s' command requires a character count"
                         % self.name,
                         0, None)
     self.proc._repr.maxstring =  self.settings[self.name]
     return None
Ejemplo n.º 2
0
 def run(self, args):
     run_set_int(
         self,
         " ".join(args),
         "The 'listsize' command requires a line count.",
         0,
         None,
     )
     return
Ejemplo n.º 3
0
 def run(self, args):
     Mcmdfns.run_set_int(
         self,
         " ".join(args),
         "The '%s' command requires a character count" % self.name,
         0,
         None,
     )
     self.proc._repr.maxstring = self.settings[self.name]
     return None
Ejemplo n.º 4
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'width' command requires a line width", 0,
                         None)
     return
Ejemplo n.º 5
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'annotation' command requires an "
                         "annotation level.",
                         0, 3)
     return
Ejemplo n.º 6
0
 def run(self, args):
     Mcmdfns.run_set_int(self, " ".join(args), "The 'width' command requires a line width", 0, None)
     return
Ejemplo n.º 7
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.",
                         0, None)
     return
Ejemplo n.º 8
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.", 0,
                         None)
     return