diff options
author | Al Korgun <alkorgun@gmail.com> | 2012-12-05 18:02:21 +0400 |
---|---|---|
committer | Al Korgun <alkorgun@gmail.com> | 2012-12-05 18:02:21 +0400 |
commit | 8b96bb1279e44e5233125915286e632668866173 (patch) | |
tree | 623286617cab7301e4f764968c6f957a3a59d4a7 | |
parent | 8d461a20a469bac34be83942fefc5e6673cb49f5 (diff) |
Python 2.6 compatibility fix (yet now BS-2 officially requires Python 2.7)
-rw-r--r-- | BlackSmith.py | 2 | ||||
-rw-r--r-- | README | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/BlackSmith.py b/BlackSmith.py index ff094a0..96a4457 100644 --- a/BlackSmith.py +++ b/BlackSmith.py @@ -1394,7 +1394,7 @@ def XmppIqCB(disp, stanza): anode = answer.getTag(Types[18]) anode.setTagData("name", ProdName) anode.setTagData("version", ProdVer) - Python = "{} [{}.{}.{}]".format(sys.subversion[0], *sys.version_info) + Python = "{0} [{1}.{2}.{3}]".format(sys.subversion[0], *sys.version_info) if oSlist[0]: Os = get_pipe(sys_cmds[5]).strip() elif oSlist[1]: @@ -4,7 +4,7 @@ This is BlackSmith mark.2 xmpp bot (the second generation of BlackSmith) To use Black-2 you will need:
1. OS: *nix or Microsoft Windows (FreeBSD amd64 recommended)
-2. Python 2.6 or higher (Python 3+ isn't required)
+2. Python 2.7.0 or higher (Python 3+ isn't required)
3. Python's sqlite lib. (Py-Sqlite3)
4. Subversion (or TortoiseSVN for Windows)
|