[kupfer: 20/24] plugin.top: Add missing with_statement import



commit bbc8cb924f7830aab4e376fec6baed2f86fa9d44
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Nov 24 14:08:29 2009 +0100

    plugin.top: Add missing with_statement import
    
    For Python 2.5 compatibility.

 kupfer/plugin/top.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/top.py b/kupfer/plugin/top.py
index 7dc44eb..0a54952 100644
--- a/kupfer/plugin/top.py
+++ b/kupfer/plugin/top.py
@@ -1,4 +1,5 @@
 # -*- coding: UTF-8 -*-
+from __future__ import with_statement
 
 import os
 import subprocess



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]