Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(161)

Unified Diff: dfvfs/vfs/root_only_file_entry.py

Issue 322320043: [dfvfs] Made Unicode strings the default #204 and updated docstrings #182 (Closed)
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dfvfs/vfs/os_file_system.py ('k') | dfvfs/vfs/root_only_file_system.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dfvfs/vfs/root_only_file_entry.py
diff --git a/dfvfs/vfs/root_only_file_entry.py b/dfvfs/vfs/root_only_file_entry.py
index 471b595f0410f8182d4f804dd76c604e9f5508af..fd585f0f35519acd686f1d078f52574f87fdba47 100644
--- a/dfvfs/vfs/root_only_file_entry.py
+++ b/dfvfs/vfs/root_only_file_entry.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
"""The root only file system file entry implementation."""
+from __future__ import unicode_literals
+
from dfvfs.vfs import file_entry
@@ -18,7 +20,7 @@ class RootOnlyFileEntry(file_entry.FileEntry):
@property
def name(self):
"""str: name of the file entry, without the full path."""
- return u''
+ return ''
@property
def sub_file_entries(self):
« no previous file with comments | « dfvfs/vfs/os_file_system.py ('k') | dfvfs/vfs/root_only_file_system.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b