From: Jeremy Stanley Date: Mon, 15 Aug 2011 11:01:17 +0000 (+0000) Subject: Use strings not unicode in daemon executable X-Git-Tag: 0.0.1~287 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=a985778e8ce050ec7a847a6de318464803268582 Use strings not unicode in daemon executable * bin/mudpy: Python 3000 treats strings as unicode by default, so we should too. --- diff --git a/bin/mudpy b/bin/mudpy index a0d764e..b1071e3 100755 --- a/bin/mudpy +++ b/bin/mudpy @@ -1,15 +1,15 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -u"""Skeletal executable for the mudpy engine.""" +"""Skeletal executable for the mudpy engine.""" -# Copyright (c) 2004-2010 Jeremy Stanley . Permission +# Copyright (c) 2004-2011 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. # core objects for the mudpy engine import os.path import sys -sys.path.append(os.path.realpath(u"lib")) +sys.path.append( os.path.realpath("lib") ) import mudpy # start it up