Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Chen Yisong
lxc
Commits
c756a6e9
Commit
c756a6e9
authored
Feb 13, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python3: Drop API warning and fix pep8/pyflakes3
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
Acked-by:
Serge E. Hallyn
<
serge.hallyn@ubuntu.com
>
parent
8158c057
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
27 deletions
+0
-27
lxc-device
src/lxc/lxc-device
+0
-5
lxc-ls
src/lxc/lxc-ls
+0
-4
lxc-start-ephemeral.in
src/lxc/lxc-start-ephemeral.in
+0
-4
api_test.py
src/python-lxc/examples/api_test.py
+0
-3
pyconsole-vte.py
src/python-lxc/examples/pyconsole-vte.py
+0
-3
pyconsole.py
src/python-lxc/examples/pyconsole.py
+0
-3
__init__.py
src/python-lxc/lxc/__init__.py
+0
-5
No files found.
src/lxc/lxc-device
View file @
c756a6e9
...
...
@@ -25,15 +25,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# NOTE: To remove once the API is stabilized
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
argparse
import
gettext
import
lxc
import
os
import
sys
_
=
gettext
.
gettext
gettext
.
textdomain
(
"lxc-device"
)
...
...
src/lxc/lxc-ls
View file @
c756a6e9
...
...
@@ -25,10 +25,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# NOTE: To remove once the API is stabilized
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
argparse
import
gettext
import
json
...
...
src/lxc/lxc-start-ephemeral.in
View file @
c756a6e9
...
...
@@ -25,10 +25,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# NOTE: To remove once the API is stabilized
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
argparse
import
gettext
import
lxc
...
...
src/python-lxc/examples/api_test.py
View file @
c756a6e9
...
...
@@ -23,9 +23,6 @@
# USA
#
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
lxc
import
uuid
import
sys
...
...
src/python-lxc/examples/pyconsole-vte.py
View file @
c756a6e9
...
...
@@ -24,9 +24,6 @@
# USA
#
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
gtk
import
vte
import
lxc
...
...
src/python-lxc/examples/pyconsole.py
View file @
c756a6e9
...
...
@@ -24,9 +24,6 @@
# USA
#
import
warnings
warnings
.
filterwarnings
(
"ignore"
,
"The python-lxc API isn't yet stable"
)
import
lxc
import
sys
import
time
...
...
src/python-lxc/lxc/__init__.py
View file @
c756a6e9
...
...
@@ -25,12 +25,7 @@
import
_lxc
import
os
import
subprocess
import
stat
import
time
import
warnings
warnings
.
warn
(
"The python-lxc API isn't yet stable "
"and may change at any point in the future."
,
Warning
,
2
)
default_config_path
=
_lxc
.
get_global_config_item
(
"lxc.lxcpath"
)
version
=
_lxc
.
get_version
()
...
...
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