Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
cfa28f0c
Commit
cfa28f0c
authored
Feb 11, 2019
by
Aidan Holland
Committed by
John Wu
Feb 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Empty Exceptions
parent
ab47b717
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
build.py
build.py
+3
-3
No files found.
build.py
View file @
cfa28f0c
...
@@ -60,7 +60,7 @@ config = {}
...
@@ -60,7 +60,7 @@ config = {}
def
mv
(
source
,
target
):
def
mv
(
source
,
target
):
try
:
try
:
shutil
.
move
(
source
,
target
)
shutil
.
move
(
source
,
target
)
except
shutil
.
Error
:
except
:
pass
pass
...
@@ -68,7 +68,7 @@ def cp(source, target):
...
@@ -68,7 +68,7 @@ def cp(source, target):
try
:
try
:
shutil
.
copyfile
(
source
,
target
)
shutil
.
copyfile
(
source
,
target
)
vprint
(
f
'cp: {source} -> {target}'
)
vprint
(
f
'cp: {source} -> {target}'
)
except
shutil
.
Error
:
except
:
pass
pass
...
@@ -83,7 +83,7 @@ def rm(file):
...
@@ -83,7 +83,7 @@ def rm(file):
def
mkdir
(
path
,
mode
=
0o777
):
def
mkdir
(
path
,
mode
=
0o777
):
try
:
try
:
os
.
mkdir
(
path
,
mode
)
os
.
mkdir
(
path
,
mode
)
except
OSError
:
except
:
pass
pass
...
...
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