My fix rpmlint #647

Merged
merged 3 commits into from Aug 16, 2011
Jump to file or symbol
Failed to load files and symbols.
+3 −51
Split
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
A base class for objects that are configurable.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Tests for IPython.config.configurable
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Tests for IPython.config.loader
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
System command aliases.
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Autocall capabilities for IPython.core.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
A context manager for handling sys.displayhook.
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Global exception classes for IPython.core.
@@ -49,4 +48,4 @@ class UsageError(IPythonCoreError):
Something that probably won't warrant a full traceback, but should
nevertheless interrupt a macro / batch file.
- """
+ """
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
This module is *completely* deprecated and should no longer be used for
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Paging capabilities for IPython.core
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
A payload based version of page.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Prefiltering components.
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
A mixin for :class:`~IPython.core.application.Application` classes that
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Simple utility for splitting user input.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
def test_import_completer():
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""Magic command interface for interactive parallel work."""
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
# GUID.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
#
# This file is adapted from a paramiko demo, and thus licensed under LGPL 2.1.
# Original Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com>
@@ -17,7 +15,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA.
"""
Sample script showing how to do local port forwarding over paramiko.
@@ -87,4 +85,4 @@ class SubHander (Handler):
ForwardServer(('127.0.0.1', local_port), SubHander).serve_forever()
-__all__ = ['forward_tunnel']
+__all__ = ['forward_tunnel']
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Extra capabilities for IPython
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# coding: utf-8
"""
Support for creating GUI apps and starting event loops.
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# coding: utf-8
"""
Inputhook management for GUI event loop integration.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Enable pygtk to be used interacive by setting PyOS_InputHook.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
def test_import_backgroundjobs():
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
The Base Application class for IPython.parallel apps
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Facilities for launching IPython processes asynchronously.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
A simple logger object that consolidates messages incoming from ipcluster processes.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""Utility for forwarding file read events over a zmq socket.
This is necessary because select on Windows only supports sockets, not FDs.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Job and task components for writing .xml files that the Windows HPC Server
View
No changes.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""The IPython Controller Hub with 0MQ
This is the master object that handles connections from engines and clients,
and monitors traffic through the various queues.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""A simple engine that talks to a controller over 0MQ.
it handles registration, etc. and launches a kernel
connected to the Controller's Schedulers.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
Kernel adapted from kernel.py to use ZMQ Streams
@@ -1,6 +1,3 @@
-#!/usr/bin/env python
-
-
"""
Add %global magic for GNU Global usage.
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
""" IPython extension: Render templates from variables and paste to clipbard """
from IPython.core import ipapi
@@ -65,4 +63,3 @@ def render(tmpl):
return res
ip.push('render')
-
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from IPython.core import ipapi
ip = ipapi.get()
View
0 IPython/testing/mkdoctests.py 100644 → 100755
No changes.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Tests for testing.tools
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""A dict subclass that supports attribute style access.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
The IPython Core Notification Center.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Context managers for adding things to sys.path temporarily.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
Tests for IPython.utils.traitlets.
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# encoding: utf-8
"""
A lightweight Traits like module.
View
0 IPython/utils/upgradedir.py 100644 → 100755
No changes.
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""An Application for launching a kernel
Authors
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""Session object for building, serializing, sending, and receiving messages in
IPython. The Session object supports serialization, HMAC signatures, and
metadata on messages.
View
0 docs/examples/core/seteditor.py 100755 → 100644
No changes.