mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
Resolve merge conflicts
This commit is contained in:
commit
2127e2a6ef
@ -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
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user