diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | miniircd | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -12,6 +12,7 @@ Unreleased * --log-max-size: maximum size of log file before rotating * --password-file: file from which to read connection password * --pid-file: file to write PID to + * Made it possible to run miniircd in Python 3. 1.1 (2015-05-22) @@ -33,7 +33,8 @@ Limitations Requirements ------------ -Python 2.6 or newer. Get it at http://www.python.org. +Python 2.6 or newer. Get it at http://www.python.org. Python 3 should also +work. Installation ------------ @@ -678,7 +678,7 @@ class Server(object): def make_pid_file(self, filename): try: - fd = os.open(filename, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0644) + fd = os.open(filename, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0o644) os.write(fd, "%i\n" % os.getpid()) os.close(fd) except: |