Skip to content

Commit

Permalink
fix incompatibility btwn python 3.8 and psycopg. improved scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
EsGeh authored and EsGeh committed Nov 25, 2019
1 parent 20fc598 commit 3c24291
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.7

ENV PYTHONUNBUFFERED 1
ENV SHELL /bin/bash
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==2.1.11
psycopg2-binary==2.8.4
psycopg2-binary==2.7.7
dj-database-url==0.5.0
django-auth-ldap==2.0.0
django-classy-tags==0.9.0
Expand Down
6 changes: 4 additions & 2 deletions scripts/exit.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ def rm_docker_env_file( config ):
BASE_DIR / ".env"
)
print( "removing '{}'".format( path ) )
path.unlink()

shutil.rmtree(
path,
ignore_errors=True
)

if __name__ == '__main__':

Expand Down

0 comments on commit 3c24291

Please sign in to comment.