Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
World
flatpak-dev-cli
Commits
94ead2b1
Commit
94ead2b1
authored
Apr 11, 2017
by
Carlos Soriano Sánchez
Browse files
general: Use Enum subclass for Colors
parent
db6e0fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
flatpak-dev.py
View file @
94ead2b1
...
...
@@ -31,12 +31,13 @@ import venv
from
urllib.parse
import
urlparse
from
urllib.request
import
urlretrieve
from
enum
import
Enum
FLATPAK_REQ
=
"0.9.2"
scriptdir
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
class
Colors
:
# pylint: disable=too-few-public-methods
class
Colors
(
Enum
):
HEADER
=
"
\033
[95m"
OKBLUE
=
"
\033
[94m"
OKGREEN
=
"
\033
[92m"
...
...
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