-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Iab4454c9e6963bb3969171fd1116aa125b578c18
- Loading branch information
1 parent
20464b3
commit 2819a5e
Showing
5 changed files
with
52 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""TNS utils used by multiple tools""" | ||
|
||
|
||
class TNSError(Exception): | ||
'''Raises TNS error''' | ||
|
||
|
||
def _check(data): | ||
"""Checks if data in dictionary are empty. | ||
""" | ||
for key, val in data.items(): | ||
if len(val) == 0: | ||
raise TNSError('Empty distrib for diameter key: {}'.format(key)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
""" tns version """ | ||
VERSION = "1.0.6" | ||
VERSION = "1.0.7.dev0" |