Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 19e7fe11
authored
Jun 12, 2026
by
Ari Agung Prasetiyo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixnop
1 parent
d6cd3d6b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
opensipkd/tools/pbb.py
opensipkd/tools/pbb.py
View file @
19e7fe1
...
@@ -107,7 +107,7 @@ class FixDati2(BaseFixLength):
...
@@ -107,7 +107,7 @@ class FixDati2(BaseFixLength):
def
get_structure
(
self
):
def
get_structure
(
self
):
return
DATI2
return
DATI2
def
kd_
dati2
(
self
):
def
dati2
(
self
):
return
self
[
"kd_propinsi"
]
+
'.'
+
self
[
'kd_dati2'
]
return
self
[
"kd_propinsi"
]
+
'.'
+
self
[
'kd_dati2'
]
...
@@ -115,24 +115,24 @@ class FixKecamatan(FixDati2):
...
@@ -115,24 +115,24 @@ class FixKecamatan(FixDati2):
def
get_structure
(
self
):
def
get_structure
(
self
):
return
KECAMATAN
return
KECAMATAN
def
k
d_k
ecamatan
(
self
):
def
kecamatan
(
self
):
return
super
()
.
kd_dati2
+
'.'
+
self
[
'kd_kecamatan'
]
return
super
()
.
dati2
()
+
'.'
+
self
[
'kd_kecamatan'
]
class
FixKelurahan
(
FixKecamatan
):
class
FixKelurahan
(
FixKecamatan
):
def
get_structure
(
self
):
def
get_structure
(
self
):
return
KELURAHAN
return
KELURAHAN
def
k
d_k
elurahan
(
self
):
def
kelurahan
(
self
):
return
super
()
.
k
d_kecamatan
+
'.'
+
self
[
'kd_kelurahan'
]
return
super
()
.
k
ecamatan
()
+
'.'
+
self
[
'kd_kelurahan'
]
class
FixBlok
(
FixKelurahan
):
class
FixBlok
(
FixKelurahan
):
def
get_structure
(
self
):
def
get_structure
(
self
):
return
BLOK
return
BLOK
def
kd_
blok
(
self
):
def
blok
(
self
):
return
super
()
.
k
d_kelurahan
+
'.'
+
self
[
'kd_blok'
]
return
super
()
.
k
elurahan
()
+
'.'
+
self
[
'kd_blok'
]
class
FixKantor
(
BaseFixLength
):
class
FixKantor
(
BaseFixLength
):
...
@@ -164,7 +164,7 @@ class FixNop(FixBlok):
...
@@ -164,7 +164,7 @@ class FixNop(FixBlok):
return
NOP
return
NOP
def
nop
(
self
):
def
nop
(
self
):
return
"."
.
join
([
self
.
kd_
blok
(),
self
[
"no_urut"
],
self
[
"kd_jns_op"
]])
return
"."
.
join
([
self
.
blok
(),
self
[
"no_urut"
],
self
[
"kd_jns_op"
]])
def
get_formatted
(
self
):
def
get_formatted
(
self
):
s
=
''
s
=
''
...
...
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