Resolve merge conflicts

This commit is contained in:
Griatch 2018-07-31 11:50:05 +02:00
commit 2127e2a6ef
2 changed files with 6 additions and 4 deletions

View File

@ -24,13 +24,15 @@ FROM alpine
MAINTAINER www.evennia.com
# install compilation environment
RUN apk update && apk add python py-pip python-dev py-setuptools gcc musl-dev jpeg-dev zlib-dev bash
RUN apk update && apk add python py-pip python-dev py-setuptools gcc \
musl-dev jpeg-dev zlib-dev bash py2-openssl procps
# add the project source
ADD . /usr/src/evennia
# install dependencies
RUN pip install --upgrade pip && pip install /usr/src/evennia --trusted-host pypi.python.org
RUN pip install --upgrade pip && pip install -e /usr/src/evennia --trusted-host pypi.python.org
RUN pip install cryptography pyasn1 service_identity
# add the game source when rebuilding a new docker image from inside
# a game dir

View File

@ -296,9 +296,9 @@ class CmdSet(with_metaclass(_CmdSetMeta, object)):
result (any): An instantiated Command or the input unmodified.
"""
try:
if callable(cmd):
return cmd()
except TypeError:
else:
return cmd
def _duplicate(self):