Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa92155

Browse files
author
Gauvain Pocentek
committed
pretty_print: don't display private attributes
1 parent526f1be commitfa92155

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎gitlab.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,8 @@ def pretty_print(self, depth=0):
680680
forkinsorted(self.__dict__.keys()):
681681
ifk==self.idAttr:
682682
continue
683+
ifk[0]=='_':
684+
continue
683685
v=self.__dict__[k]
684686
pretty_k=k.replace('_','-')
685687
ifsix.PY2:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp