diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-06-25 15:57:47 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-06-25 16:00:18 +0300 |
commit | 790f31e27561ed6ac36aeca0f6df6ddd751ca5e1 (patch) | |
tree | 719cabb2db334aa22798a0aeee5b01ed97ce08f5 /mediagoblin/storage | |
parent | fe124c8979de5c34ec3ba4b43a00b757eb9605f7 (diff) | |
download | mediagoblin-790f31e27561ed6ac36aeca0f6df6ddd751ca5e1.tar.lz mediagoblin-790f31e27561ed6ac36aeca0f6df6ddd751ca5e1.tar.xz mediagoblin-790f31e27561ed6ac36aeca0f6df6ddd751ca5e1.zip |
Fix more print statements. Refs #5331
Diffstat (limited to 'mediagoblin/storage')
-rw-r--r-- | mediagoblin/storage/mountstorage.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mediagoblin/storage/mountstorage.py b/mediagoblin/storage/mountstorage.py index 4125a88d..a829db31 100644 --- a/mediagoblin/storage/mountstorage.py +++ b/mediagoblin/storage/mountstorage.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +from __future__ import print_function + import six from mediagoblin.storage import StorageInterface, clean_listy_filepath @@ -61,9 +63,9 @@ class MountStorage(StorageInterface): """ new_ent = clean_listy_filepath(dirpath) - print "Mounting:", repr(new_ent) + print("Mounting:", repr(new_ent)) already, rem_1, table, rem_2 = self._resolve_to_backend(new_ent, True) - print "===", repr(already), repr(rem_1), repr(rem_2), len(table) + print("===", repr(already), repr(rem_1), repr(rem_2), len(table)) assert (len(rem_2) > 0) or (None not in table), \ "That path is already mounted" |