Commits

Chris Perl committed 7dfe1a5

Typo

  • Participants
  • Parent commits 15faa32

Comments (0)

Files changed (1)

File loganalyze.py

         self._parser_do_topurls = OptionParser(usage="topurls [number of urls to display]")
 
     def _setup_parser_do_toptalkers(self):
-        self._parser_to_toptalkers = OptionParser(usage="toptalkers [number of IPs to display]")
+        self._parser_do_toptalkers = OptionParser(usage="toptalkers [number of IPs to display]")
 
     def _do_set(self, *cmd_args):
         options, args = self._parser_do_set.parse_args(list(cmd_args))
         for ip in sorted_keys[-num_talkers:]:
             print "%-16s %10d" % (ip, data[ip])
 
-
-    def _do_toptalkers(self, *cmd_args):
-        pass
-        
-
 def main():
     log_analyzer = LogAnalyzer()
     for path in sys.argv[1:]: