Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0dc92b1

Browse files
committed
fix yapf pattern usage in enums.py
1 parent 019812c commit 0dc92b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testgres/enums.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ class ProcessType(Enum):
5858

5959
@staticmethod
6060
def from_process(process):
61-
# yapf: disable
6261
# legacy names for older releases of PG
6362
alternative_names = {
6463
ProcessType.LogicalReplicationLauncher: [
@@ -67,7 +66,7 @@ def from_process(process):
6766
ProcessType.BackgroundWriter: [
6867
'writer'
6968
],
70-
}
69+
} # yapf: disable
7170

7271
# we deliberately cut special words and spaces
7372
cmdline = ''.join(process.cmdline()) \

0 commit comments

Comments
 (0)