Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
9c7b4062
authored
Jan 20, 2015
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silence
parent
50f6c42d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
freebsd/network.py
+0
-1
utils.py
+2
-1
No files found.
freebsd/network.py
View file @
9c7b4062
...
...
@@ -36,7 +36,6 @@ def remove_interfaces_freebsd(devices):
def
change_ip_freebsd
(
interfaces
,
dns
):
data
=
list
(
get_interfaces_freebsd
(
interfaces
))
print
data
for
ifname
,
conf
in
data
:
subprocess
.
call
((
'/usr/sbin/service'
,
'netif'
,
'stop'
,
ifname
))
remove_interfaces_freebsd
(
dict
(
data
)
.
keys
())
...
...
utils.py
View file @
9c7b4062
...
...
@@ -24,7 +24,8 @@ class SerialLineReceiverBase(LineReceiver, object):
raise
NotImplementedError
(
"Subclass must implement abstract method"
)
def
dataReceivedd
(
self
,
data
):
print
data
#print data
pass
def
lineReceived
(
self
,
data
):
try
:
...
...
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