Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
iso8583-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 43bb754b
authored
Nov 30, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah log_warning
1 parent
4c2697ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
CHANGES.txt
iso8583_web/__init__.py
iso8583_web/common.py
CHANGES.txt
View file @
43bb754
0.6 2021-11-4
-------------
- Tambah log_warning
- Penggunaan pkgutil agar fleksibel saat pip install -e
0.5.1 2021-5-23
---------------
- Tabel conf dipindahkan ke paket opensipkd-iso8583-bjb.
...
...
iso8583_web/__init__.py
View file @
43bb754
__path__
=
__import__
(
'pkgutil'
)
.
extend_path
(
__path__
,
__name__
)
import
os
import
csv
import
deform
...
...
iso8583_web/common.py
View file @
43bb754
...
...
@@ -86,7 +86,12 @@ class BaseView:
def
log_error
(
self
,
msg
):
prefix
=
self
.
log_prefix
()
msg
=
f
'{prefix} {msg}'
log
.
debug
(
msg
)
log
.
error
(
msg
)
def
log_warning
(
self
,
msg
):
prefix
=
self
.
log_prefix
()
msg
=
f
'{prefix} {msg}'
log
.
warning
(
msg
)
# Abstract class. Inherit, please.
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment