Project

General

Profile

Actions

Cleanup #15504

closed

Python binding for librados: Remove parentheses from if statements

Added by Roland Mechler about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Some but not all if statements in rados.pyx have unnecessary parentheses. They should be removed to cleanup the code and make it more consistent.

Actions #1

Updated by Roland Mechler about 8 years ago

Working on this.

Actions #2

Updated by Nathan Cutler about 8 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Roland Mechler about 8 years ago

Tried to cover all of pybind, so did it for ceph_argparse.py and cephfs.pyx, in addition to rados.pyx.

PR: https://github.com/ceph/ceph/pull/8623

Actions #4

Updated by Sage Weil about 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF