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
Example #2
0
 def run(self, args):
     run_set_int(
         self,
         " ".join(args),
         "The 'listsize' command requires a line count.",
         0,
         None,
     )
     return
Example #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
Example #4
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'width' command requires a line width", 0,
                         None)
     return
Example #5
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'annotation' command requires an "
                         "annotation level.",
                         0, 3)
     return
Example #6
0
 def run(self, args):
     Mcmdfns.run_set_int(self, " ".join(args), "The 'width' command requires a line width", 0, None)
     return
Example #7
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.",
                         0, None)
     return
Example #8
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.", 0,
                         None)
     return