Changed @about command to reflect new requirements

This commit is contained in:
Duarte Cordeiro 2014-09-24 10:52:32 +01:00 committed by Griatch
parent 48f145031b
commit 9a5256ec12

View file

@ -558,11 +558,6 @@ class CmdAbout(MuxCommand):
def func(self): def func(self):
"Show the version" "Show the version"
try:
import south
sversion = "{wSouth{n %s" % south.__version__
except ImportError:
sversion = "{wSouth{n <not installed>"
string = """ string = """
{cEvennia{n %s{n {cEvennia{n %s{n
@ -579,13 +574,11 @@ class CmdAbout(MuxCommand):
{wPython{n %s {wPython{n %s
{wTwisted{n %s {wTwisted{n %s
{wDjango{n %s {wDjango{n %s
%s
""" % (utils.get_evennia_version(), """ % (utils.get_evennia_version(),
os.name, os.name,
sys.version.split()[0], sys.version.split()[0],
twisted.version.short(), twisted.version.short(),
django.get_version(), django.get_version())
sversion)
self.caller.msg(string) self.caller.msg(string)