From 051a08e228d4ba26219b649cd4f4e8580ee80fa0 Mon Sep 17 00:00:00 2001 From: Gaoce Date: Tue, 10 Nov 2015 08:47:06 +0800 Subject: [PATCH] remove the repeated comment --- types/replicatedservice/v1/replicatedservice.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/replicatedservice/v1/replicatedservice.py b/types/replicatedservice/v1/replicatedservice.py index 72c5f20b0..5c63dd32e 100644 --- a/types/replicatedservice/v1/replicatedservice.py +++ b/types/replicatedservice/v1/replicatedservice.py @@ -99,10 +99,9 @@ def GenerateConfig(context): return yaml.dump(config) -# Generates labels either from the context.properties['labels'] or generates -# a default label 'name':name def GenerateLabels(context, name): - """Generates labels from context.properties['labels'] or creates default. + """Generates labels either from the context.properties['labels'] or + generates a default label 'name':name We make a deep copy of the context.properties['labels'] section to avoid linking in the yaml document, which I believe reduces readability of the