Skip to content

Commit

Permalink
Transfers: Fix flake8 issues. rucio#570
Browse files Browse the repository at this point in the history
  • Loading branch information
bbockelm committed Feb 6, 2018
1 parent a86afe9 commit 517dd68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rucio/common/config.py
Expand Up @@ -34,10 +34,12 @@ def config_has_section(section):
"""Indicates whether the named section is present in the configuration. The DEFAULT section is not acknowledged.)"""
return __CONFIG.has_section(section)


def config_add_section(section):
"""Add a new section to the configuration object. Throws DuplicateSectionError if it already exists."""
return __CONFIG.add_section(section)


def config_get_int(section, option):
"""Return the integer value for a given option in a section"""
return __CONFIG.getint(section, option)
Expand Down

0 comments on commit 517dd68

Please sign in to comment.