Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
0ab0ef16
Commit
0ab0ef16
authored
Nov 02, 2015
by
Ilia Slepnev
Committed by
Grzegorz Daniluk
Nov 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bare_top/gen_sdbsyn.py: don't crash when git username is not set
parent
07d9aa05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gen_sdbsyn.py
top/bare_top/gen_sdbsyn.py
+2
-1
No files found.
top/bare_top/gen_sdbsyn.py
View file @
0ab0ef16
...
...
@@ -94,7 +94,8 @@ def git_username():
uname
=
""
for
n
in
user
[:
-
1
]:
uname
=
uname
+
n
[
0
]
uname
=
uname
+
user
[
-
1
]
if
len
(
user
):
uname
=
uname
+
user
[
-
1
]
return
uname
def
main
():
...
...
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