1
0
Fork 0
Commit graph

2 commits

Author SHA1 Message Date
a4f497115a - bugfix in class statuscodes: putted a 's' before all code numbers, dict is working now...
- bugfix in class comm, header(): status codes couldn't be handled
- added import for include/statuscodes.py, class statuscodes to include/__init__.py
- added encode_message() and decode_message() to class comm
- added use of encode_message() to motd() in class comm
- added more docstrings and comments in class comm
- added more comments in asrc-server.py
- moved pid file check and creation around in asrc-server.py for less oddness when starting the server with -n
2013-04-29 21:51:20 +02:00
1207c6b225 - cleaned class argparser
- commented and cleaned asrc-server.py
- renamed includes/content.py to includes/comm.py
- renamed class content to comm
- made some vars (aliases, server_version, protocol_version, verbiosity) global in class comm
- added init() to class comm for setting lobal vars
- moved motd() from asrc-server-py to class comm
- conformed comm.motd() to reference
- added comm.header() for building the headers
- added includes/statuscodes.py with class statuscodes with dict description for storing the status codes and their description
- added docstrings
2013-04-26 12:55:37 +02:00