Created
October 25, 2014 13:35
-
-
Save vain/96c62cc5d6fd720211ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/bundlewrap/utils/remote.py b/src/bundlewrap/utils/remote.py | |
index 3fa606e..d36b7de 100644 | |
--- a/src/bundlewrap/utils/remote.py | |
+++ b/src/bundlewrap/utils/remote.py | |
@@ -13,7 +13,8 @@ def _parse_file_output(file_output): | |
return ('nonexistent', "") | |
elif file_output in ("directory", "sticky directory"): | |
return ('directory', file_output) | |
- elif file_output in ("block special", "character special"): | |
+ elif file_output.startswith("block special ") or \ | |
+ file_output.startswith("character special "): | |
return ('other', file_output) | |
elif file_output.startswith("symbolic link to ") or \ | |
file_output.startswith("broken symbolic link to "): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment