From: sarat inuguri Date: Thu, 18 Dec 2014 18:25:15 +0000 (+0000) Subject: Punctuation and Copyright changes. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4af571d894b612f1d82f74bf3937f6129cf9254d;p=openstack-build%2Fcinder-build.git Punctuation and Copyright changes. Very minor changes related to punctuation and removal of an incorrect copyright. I had inadvertently checked-in these files with RedHat copyright, through change-id Ie4b4785b7c93246147c8d9e6a172621f454301ae. Removing it.. Change-Id: I4611ca15bb0f119facdb11d5757e975cc2645dfa --- diff --git a/cinder/tests/test_symantec_cnfs.py b/cinder/tests/test_symantec_cnfs.py index d11536344..830863d6a 100644 --- a/cinder/tests/test_symantec_cnfs.py +++ b/cinder/tests/test_symantec_cnfs.py @@ -1,5 +1,4 @@ # Copyright (c) 2014 Symantec Corporation -# Copyright (c) 2014 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/cinder/volume/drivers/symantec_cnfs.py b/cinder/volume/drivers/symantec_cnfs.py index c46021e4d..b11db3fda 100644 --- a/cinder/volume/drivers/symantec_cnfs.py +++ b/cinder/volume/drivers/symantec_cnfs.py @@ -1,5 +1,4 @@ # Copyright (c) 2014 Symantec Corporation -# Copyright (c) 2014 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -45,7 +44,7 @@ class SymantecCNFSDriver(nfs.NfsDriver): opts = self.configuration.nfs_mount_options if not opts or opts.find('vers=3') == -1 or ( opts.find('nfsvers=3')) == -1: - msg = _("NFS is not configured to use NFSv3") + msg = _("NFS is not configured to use NFSv3.") LOG.error(msg) raise exception.NfsException(msg) @@ -78,7 +77,7 @@ class SymantecCNFSDriver(nfs.NfsDriver): """Delete a snapshot.""" if not snapshot['provider_location']: LOG.warn(_LW('Snapshot %s does not have provider_location ' - 'specified, skipping'), snapshot['name']) + 'specified, skipping.'), snapshot['name']) return self._ensure_share_mounted(snapshot['provider_location']) snap_path = self.local_path(snapshot) @@ -106,7 +105,7 @@ class SymantecCNFSDriver(nfs.NfsDriver): if not os.path.exists(tgt_vol_path): self._execute('rm', '-f', tgt_vol_path_spl, run_as_root=True) msg = _("Filesnap over NFS is not supported, " - "removing the ::snap:vxfs: file") + "removing the ::snap:vxfs: file.") LOG.error(msg) raise exception.NfsException(msg) tgt_vol['provider_location'] = src_vol['provider_location']