Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Nov 4, 2019
1 parent 8cadd38 commit 50b87e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 176 deletions.
4 changes: 3 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Change log

- Documentation
- macOS rpath fix/show scripts
- Tables and structure parameters type check
- Tables and structure parameters dict and list type check
- Type checks, unit tests
- sitecustomize removed, closes 136

1.9.99 (2019-10-25)
-------------------
Expand Down
173 changes: 0 additions & 173 deletions setup-new.py

This file was deleted.

5 changes: 3 additions & 2 deletions src/pyrfc/_pyrfc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1677,8 +1677,9 @@ cdef fillTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, lines)
fillStructureField(typeDesc, lineHandle, name, value)
else:
fillStructureField(typeDesc, lineHandle, '', line)
i += 1
# https://stackoverflow.com/questions/33626623/the-most-efficient-way-to-remove-first-n-elements-in-a-list
i += 1 # del lines[:1]
# del lines[:1]

cdef fillVariable(RFCTYPE typ, RFC_FUNCTION_HANDLE container, SAP_UC* cName, value, RFC_TYPE_DESC_HANDLE typeDesc):
cdef RFC_RC rc
Expand Down Expand Up @@ -1771,7 +1772,7 @@ cdef fillVariable(RFCTYPE typ, RFC_FUNCTION_HANDLE container, SAP_UC* cName, val
else:
rc = RFC_OK
elif typ == RFCTYPE_TIME:
if (value): # not None or empty
if value: # not None or empty
format_ok = True
if type(value) is datetime.time:
cValue = fillString('{:02d}{:02d}{:02d}'.format(value.hour, value.minute, value.second))
Expand Down

0 comments on commit 50b87e2

Please sign in to comment.