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
532fb472
Commit
532fb472
authored
Jul 27, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed to work in Yocto 2.1 as well
parent
3dce79e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
elphel-misc.bbclass
classes/elphel-misc.bbclass
+1
-0
No files found.
classes/elphel-misc.bbclass
View file @
532fb472
...
@@ -27,5 +27,6 @@ def revision_update(path,file):
...
@@ -27,5 +27,6 @@ def revision_update(path,file):
res = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
res = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
except subprocess.CalledProcessError as e:
except subprocess.CalledProcessError as e:
res = "error_"+e.returncode
res = "error_"+e.returncode
res = str(int(res))
res = res.strip(' \t\n\r')
res = res.strip(' \t\n\r')
return res
return res
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