parent
ae4d781ede
commit
4f64858223
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python2
|
||||
"""Run this manually to test xdg.Mime.get_type2 against all files in a directory.
|
||||
|
||||
Syntax: ./fuzz-mime.py /dir/to/test/
|
||||
|
|
|
@ -75,8 +75,8 @@ Type=Application
|
|||
python_desktop = """[Desktop Entry]
|
||||
Name=Python
|
||||
Comment=Dynamic programming language
|
||||
Exec=python
|
||||
TryExec=python
|
||||
Exec=python2
|
||||
TryExec=python2
|
||||
Type=Application
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
# coding: utf-8
|
||||
from xdg.DesktopEntry import DesktopEntry
|
||||
from xdg.Exceptions import ValidationError, ParsingError, NoKeyError
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
from xdg.IconTheme import IconTheme, getIconPath, getIconData
|
||||
import tempfile, shutil, os
|
||||
import unittest
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
# coding: utf-8
|
||||
from xdg import IniFile
|
||||
from xdg.util import u
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
from __future__ import print_function
|
||||
|
||||
import io
|
||||
|
|
Loading…
Reference in New Issue