← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 381: Add the new MIME-types and schemas to Python too.

 

------------------------------------------------------------
revno: 381
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Mon 2012-02-06 11:11:17 +0100
message:
  Add the new MIME-types and schemas to Python too.
modified:
  python/mimetypes.py


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'python/mimetypes.py'
--- python/mimetypes.py	2011-10-29 13:31:12 +0000
+++ python/mimetypes.py	2012-02-06 10:11:17 +0000
@@ -92,7 +92,7 @@
     "application/rtf": Interpretation.PAGINATED_TEXT_DOCUMENT,
     "image/vnd.djvu": Interpretation.PAGINATED_TEXT_DOCUMENT,
 
-    # Gnome office
+    # GNOME office
     "application/x-abiword": Interpretation.PAGINATED_TEXT_DOCUMENT,
     "application/x-gnucash": Interpretation.SPREADSHEET,
     "application/x-gnumeric": Interpretation.SPREADSHEET,
@@ -190,6 +190,7 @@
     
     # File systems
     "application/x-cd-image": Interpretation.FILESYSTEM_IMAGE,
+    "inode/directory": Interpretation.FOLDER,
     
 }
 
@@ -222,4 +223,7 @@
     ("ssh://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
     ("sftp://";, Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
     ("ftp://";, Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
+    ("dav://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
+    ("davs://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
+    ("smb://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
 ))