From 9e8056d5a7b6b366874088cd30d23ba4a52d3861 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 28 Nov 2012 03:34:40 +0100 Subject: Use relative imports --- youtube_dl/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'youtube_dl/__init__.py') 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 ''' -- cgit v1.2.3