Changeset 715 for tools

Show
Ignore:
Timestamp:
11/04/07 20:42:31 (14 months ago)
Author:
michiel
Message:

remove old commented out stuff.
The configfile is now THE way to do it. Command line parameters are not supported anymore

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/nsa/nsa.py

    r714 r715  
    282282 
    283283if __name__ == "__main__": 
    284 #       if len(sys.argv) != 4: 
    285 #               print "Usage: nsa <server[:port]> <channel> <nickname>" 
    286 #               sys.exit(1) 
    287  
    288 #       s = sys.argv[1].split(":", 1) 
    289 #       server = s[0] 
    290 #       if len(s) == 2: 
    291 #               try: 
    292 #                       port = int(s[1]) 
    293 #               except ValueError: 
    294 #                       print "Error: Erroneous port." 
    295 #                       sys.exit(1) 
    296 #       else: 
    297 #               port = 6667 
    298 #       channel = sys.argv[2] 
    299 #       nickname = sys.argv[3] 
    300  
    301284        # Read configfile 
    302285        cfg = ConfigParser.ConfigParser()