Skip to content

Commit

Permalink
Fix top and bottom margin of network default values (#2594)
Browse files Browse the repository at this point in the history
Set bottom margin (counting from the beginning of the network) to 10 and top margin to 0.
Naming of these variables will be fixed in another PR.
  • Loading branch information
mkurek committed Jul 18, 2016
1 parent dd450ae commit 18993c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ralph/settings/base.py
Expand Up @@ -326,8 +326,8 @@ def os_env_true(var, default=''):
ISSUE_TRACKER_URL = os.environ.get('ISSUE_TRACKER_URL', '')

# Networks
DEFAULT_NETWORK_TOP_MARGIN = int(os.environ.get('DEFAULT_NETWORK_TOP_MARGIN', 10)) # noqa
DEFAULT_NETWORK_BOTTOM_MARGIN = int(os.environ.get('DEFAULT_NETWORK_BOTTOM_MARGIN', 0)) # noqa
DEFAULT_NETWORK_BOTTOM_MARGIN = int(os.environ.get('DEFAULT_NETWORK_BOTTOM_MARGIN', 10)) # noqa
DEFAULT_NETWORK_TOP_MARGIN = int(os.environ.get('DEFAULT_NETWORK_TOP_MARGIN', 0)) # noqa
# deprecated, to remove in the future
DEFAULT_NETWORK_MARGIN = int(os.environ.get('DEFAULT_NETWORK_MARGIN', 10))
# when set to True, network records (IP/Ethernet) can't be modified until
Expand Down

0 comments on commit 18993c4

Please sign in to comment.