Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
266c6bba
Commit
266c6bba
authored
Jul 27, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
close file
parent
c0faa409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
elphel-misc.bbclass
classes/elphel-misc.bbclass
+3
-1
No files found.
classes/elphel-misc.bbclass
View file @
266c6bba
...
...
@@ -6,7 +6,8 @@ def version_update(path,file,evr):
if not os.path.exists(path+'/'+file):
return 0
for line in open(path+'/'+file):
f=open(path+'/'+file)
for line in f:
line = line.strip()
if (line[0]!="#"):
break
...
...
@@ -18,6 +19,7 @@ def version_update(path,file,evr):
if (evr==2): res = revision_update(path,file)
else:
res = arr[evr]
f.close()
return res
def revision_update(path,file):
...
...
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