Commit 6a5e56d3 authored by Corentin Noël's avatar Corentin Noël Committed by Corentin Noël
Browse files

Port to Python3

parent d430c415
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Script to run GTimeLog from the source checkout without installing
"""
......
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Script to run GTimeLog's tests from the source checkout
"""
......
#!/usr/bin/env python
#!/usr/bin/env python3
import os
from setuptools import setup
......
#!/usr/bin/env python3
"""
A temporary holding zone for troublesome things.
"""
......
......@@ -1897,7 +1897,7 @@ class SubmitWindow(object):
class Application(Gtk.Application):
def __init__(self, *args, **kwargs):
kwargs['application_id'] = 'uk.co.collabora.gtimelog'
kwargs['application_id'] = 'com.collabora.gtimelog'
Gtk.Application.__init__(self, *args, **kwargs)
self.main_window = None
......
#!/usr/bin/env python
#!/usr/bin/env python3
'''A readline interface for gtimelog.'''
......
#!/usr/bin/env python3
"""
Settings for GTimeLog
"""
......
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
Tests for gtimelog.py
"""
......
#!/usr/bin/env python3
"""
Non-GUI bits of gtimelog.
"""
......@@ -682,7 +684,7 @@ class TaskList(object):
if line and not line.startswith("#"):
self.items.add(line)
except IOError as e:
print(e.message)
print(str(e))
pass # the file's not there, so what?
def reload(self):
......
#!/usr/bin/env python3
import datetime
import time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment