Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
Hdlmake
Commits
40d23369
Commit
40d23369
authored
Feb 12, 2018
by
Will Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sufix code, append to sufix code rather than prefix code.
parent
d0d037d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configparser.py
hdlmake/manifest_parser/configparser.py
+2
-2
No files found.
hdlmake/manifest_parser/configparser.py
View file @
40d23369
...
...
@@ -282,7 +282,7 @@ types:[<type 'int'>]
def
add_sufix_code
(
self
,
code
):
"""Add the arbitrary Python to be executed just after the Manifest"""
self
.
pre
fix_code
+=
code
+
'
\n
'
self
.
su
fix_code
+=
code
+
'
\n
'
def
__names
(
self
):
"""A method that returns a list containing the name for every non
...
...
@@ -352,7 +352,7 @@ types:[<type 'int'>]
# - options as local variables.
content
=
self
.
prefix_code
+
'
\n
'
+
content
+
'
\n
'
+
self
.
sufix_code
options
=
self
.
__parser_runner
(
content
,
extra_context
)
# Check
heck
the options that were defined in the local context
# Check the options that were defined in the local context
ret
=
{}
for
opt_name
,
val
in
list
(
options
.
items
()):
# Manifest variables starting with __(name) will be ignored,
...
...
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