summaryrefslogtreecommitdiffstats
path: root/deluge/maketorrent.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/maketorrent.py')
-rw-r--r--deluge/maketorrent.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/deluge/maketorrent.py b/deluge/maketorrent.py
index 528638e43..c0051cae0 100644
--- a/deluge/maketorrent.py
+++ b/deluge/maketorrent.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
#
# Copyright (C) 2009 Andrew Resch <andrewresch@gmail.com>
#
@@ -7,8 +6,6 @@
# See LICENSE for more details.
#
-from __future__ import division, unicode_literals
-
import os
from hashlib import sha1 as sha
@@ -32,7 +29,7 @@ class InvalidPieceSize(Exception):
pass
-class TorrentMetadata(object):
+class TorrentMetadata:
"""This class is used to create .torrent files.
Examples: