Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
the_dungeon_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
genie_logiciel_2015
the_dungeon_project
Commits
f6518b39
Commit
f6518b39
authored
Jan 11, 2016
by
Fardale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction server.py
parent
5fd2c24b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
CI/server.py
CI/server.py
+3
-3
README.md
README.md
+5
-1
No files found.
CI/server.py
View file @
f6518b39
...
...
@@ -3,7 +3,7 @@
import
common
import
http.server
import
subprocess
import
sys
import
sys
,
os
,
pwd
,
grp
import
argparse
def
ssh
(
host
,
command
):
...
...
@@ -39,7 +39,7 @@ if __name__ == "__main__":
if
pid
>
0
:
# exit first parent
sys
.
exit
(
0
)
except
OSError
,
e
:
except
OSError
as
e
:
print
(
"fork #1 failed: %d (%s)"
%
(
e
.
errno
,
e
.
strerror
),
file
=
sys
.
stderr
)
sys
.
exit
(
1
)
...
...
@@ -56,7 +56,7 @@ if __name__ == "__main__":
#print "Daemon PID %d" % pid
open
(
common
.
PIDFILE
,
'w'
).
write
(
"%d"
%
pid
)
sys
.
exit
(
0
)
except
OSError
,
e
:
except
OSError
as
e
:
print
(
"fork #2 failed: %d (%s)"
%
(
e
.
errno
,
e
.
strerror
),
file
=
sys
.
stderr
)
sys
.
exit
(
1
)
...
...
README.md
View file @
f6518b39
...
...
@@ -23,6 +23,10 @@ To compile and run:
Terminal version :
make buildplay-term
To launch test :
make test
################### HOW TO PLAY ###################
1)Launch the game.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment