Add link alias without project name

REDIS_1_PORT_6379_TCP_ADDR instead of
FIGTEST_REDIS_1_PORT_6379_TCP_ADDR.

Ref #37
This commit is contained in:
Ben Firshman 2014-01-27 15:29:58 +00:00
commit 3e7e6e7656
4 changed files with 16 additions and 10 deletions

View file

@ -50,6 +50,10 @@ class Container(object):
def name(self):
return self.dictionary['Name'][1:]
@property
def name_without_project(self):
return '_'.join(self.dictionary['Name'].split('_')[1:])
@property
def number(self):
try: