Fixing loggin message on profile delete

Change-Id: Id6cf505666404285cf3b645a1db7501b778b7937
diff --git a/samples/docker-compose.yml b/samples/docker-compose.yml
index 21ae618..24f57d3 100644
--- a/samples/docker-compose.yml
+++ b/samples/docker-compose.yml
@@ -1,3 +1,17 @@
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Progran for docker-compose
 version: '2'
 
diff --git a/samples/progran-curl.sh b/samples/progran-curl.sh
index 7353fd0..6f1b6be 100644
--- a/samples/progran-curl.sh
+++ b/samples/progran-curl.sh
@@ -1,5 +1,19 @@
 #!/usr/bin/env bash
 
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 XOS_URL=127.0.0.1
 XOS_PORT=9101
 XOS_USERNAME=xosadmin@opencord.org
diff --git a/test/test.py b/test/test.py
index 396eb35..e40cb08 100644
--- a/test/test.py
+++ b/test/test.py
@@ -1,3 +1,17 @@
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import requests
 from requests.auth import HTTPBasicAuth
 import unittest
diff --git a/xos/synchronizer/steps/sync_progranserviceinstance_back.py b/xos/synchronizer/steps/sync_progranserviceinstance_back.py
index 3c94b34..acb8f6e 100644
--- a/xos/synchronizer/steps/sync_progranserviceinstance_back.py
+++ b/xos/synchronizer/steps/sync_progranserviceinstance_back.py
@@ -183,5 +183,5 @@
                     # don't delete if the profile has been created by XOS and it hasn't been sync'ed yet
                     continue
                 # TODO delete also the associated Handover
-                log.debug("Profiles %s have been removed in progran, removing it from XOS" % str(p.name))
+                log.debug("Profiles %s have been removed in progran, removing it from XOS" % str(p))
                 si.delete()