aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-11-28 03:34:40 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-11-28 03:34:40 +0100
commit9e8056d5a7b6b366874088cd30d23ba4a52d3861 (patch)
treed11eede0719399ed0f55e68e38c4b73eae5948f2 /youtube_dl/__init__.py
parentc6f3620859228754434d21c396ce5a655e972828 (diff)
Use relative imports
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index a0caa21b0..bf0ce14ec 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
from __future__ import with_statement
+from __future__ import absolute_import
__authors__ = (
'Ricardo Garcia Gonzalez',
@@ -39,10 +40,10 @@ import subprocess
import sys
import warnings
-from utils import *
-from FileDownloader import *
-from InfoExtractors import *
-from PostProcessor import *
+from .utils import *
+from .FileDownloader import *
+from .InfoExtractors import *
+from .PostProcessor import *
def updateSelf(downloader, filename):
''' Update the program file with the latest version from the repository '''