This website requires JavaScript.
Explore
Help
Sign in
fanir
/
asrc-dev
Watch
1
Star
0
Fork
You've already forked asrc-dev
0
Code
Releases
Activity
a4f497115a
asrc-dev
/
include
/
__init__.py
4 lines
93 B
Python
Raw
Normal View
History
Unescape
Escape
warning, buggy version! - class file folder is include/ - moved content handler to an individual class file (include/content.py) - added argument parser (include/argparser.py) -- doesn't work yet like expected
2013-04-24 20:25:50 +02:00
from
.
argparser
import
argparser
- 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
from
.
comm
import
comm
- 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
from
.
statuscodes
import
statuscodes
Copy permalink