Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
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
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
d97627a1
Commit
d97627a1
authored
May 11, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/svec-wrc-loader: fix exception when the card is declared but not present
parent
c956d695
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
svec-wrc-loader
tools/svec-wrc-loader
+2
-0
No files found.
tools/svec-wrc-loader
View file @
d97627a1
...
...
@@ -50,6 +50,8 @@ class CSvec:
self
.
path
=
vme_dir
+
subdir
;
m
=
re
.
match
(
"svec
\
.(
\
d+)"
,
subdir
)
if
m
:
if
not
os
.
path
.
isfile
(
self
.
path
+
"/slot"
):
continue
self
.
slot
=
sysfs_read
(
self
.
path
+
"/slot"
)
self
.
lun
=
int
(
m
.
group
(
1
))
...
...
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