Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Calamares
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
Calamares
Commits
aea947a5
Commit
aea947a5
authored
8 years ago
by
Philip
Browse files
Options
Downloads
Patches
Plain Diff
[mhwdcfg] PEP8 Modification
parent
96c9d744
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/mhwdcfg/main.py
+72
-66
72 additions, 66 deletions
src/modules/mhwdcfg/main.py
with
72 additions
and
66 deletions
src/modules/mhwdcfg/main.py
+
72
−
66
View file @
aea947a5
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
# === This file is part of Calamares - <http://github.com/calamares> ===
# === This file is part of Calamares - <http://github.com/calamares> ===
#
#
# Copyright 2016, Artoo <artoo@manjaro.org>
# Copyright 2016, Artoo <artoo@manjaro.org>
# Copyright 2016-2017, Philip Müller <philm@manjaro.org>
#
#
# Calamares is free software: you can redistribute it and/or modify
# Calamares is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
...
@@ -24,11 +25,15 @@ from libcalamares.utils import target_env_call, debug
...
@@ -24,11 +25,15 @@ from libcalamares.utils import target_env_call, debug
from
os.path
import
join
from
os.path
import
join
from
subprocess
import
call
from
subprocess
import
call
class
MhwdController
:
class
MhwdController
:
def
__init__
(
self
):
def
__init__
(
self
):
self
.
__root
=
libcalamares
.
globalstorage
.
value
(
"
rootMountPoint
"
)
self
.
__root
=
libcalamares
.
globalstorage
.
value
(
"
rootMountPoint
"
)
self
.
__bus
=
libcalamares
.
job
.
configuration
.
get
(
'
bus
'
,
[])
self
.
__bus
=
libcalamares
.
job
.
configuration
.
get
(
'
bus
'
,
[])
self
.
__identifier
=
libcalamares
.
job
.
configuration
.
get
(
'
identifier
'
,
[])
self
.
__identifier
=
libcalamares
.
job
.
configuration
.
get
(
'
identifier
'
,
[]
)
self
.
__local
=
libcalamares
.
job
.
configuration
[
'
local
'
]
self
.
__local
=
libcalamares
.
job
.
configuration
[
'
local
'
]
self
.
__repo
=
libcalamares
.
job
.
configuration
[
'
repo
'
]
self
.
__repo
=
libcalamares
.
job
.
configuration
[
'
repo
'
]
self
.
_driver
=
libcalamares
.
job
.
configuration
[
'
driver
'
]
self
.
_driver
=
libcalamares
.
job
.
configuration
[
'
driver
'
]
...
@@ -89,6 +94,7 @@ class MhwdController:
...
@@ -89,6 +94,7 @@ class MhwdController:
return
None
return
None
def
run
():
def
run
():
"""
Configure the hardware
"""
"""
Configure the hardware
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment