Permalink
Browse files

Fix rpmlint: non-executable-script

"""
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.
"""

Mostly deleting the shebang, but some files contain a __main__ function,
so make them executable.

This is the last commit of this series and:
Closes gh-647.
  • Loading branch information...
1 parent e9b1ebb commit a8c54759ba8b763afefa4b6b883c86a71b9d004f @tomspur committed Jul 31, 2011
Showing with 1 addition and 49 deletions.
  1. +0 −1 IPython/config/configurable.py
  2. +0 −1 IPython/config/tests/test_configurable.py
  3. +0 −1 IPython/config/tests/test_loader.py
  4. +0 −1 IPython/core/alias.py
  5. +0 −1 IPython/core/autocall.py
  6. +0 −1 IPython/core/display_trap.py
  7. +1 −2 IPython/core/error.py
  8. +0 −1 IPython/core/ipapi.py
  9. +0 −1 IPython/core/page.py
  10. +0 −1 IPython/core/payloadpage.py
  11. +0 −1 IPython/core/prefilter.py
  12. +0 −1 IPython/core/shellapp.py
  13. +0 −1 IPython/core/splitinput.py
  14. +0 −1 IPython/core/tests/test_imports.py
  15. +0 −1 IPython/extensions/parallelmagic.py
  16. +0 −1 IPython/external/guid/_guid.py
  17. +0 −2 IPython/external/ssh/forward.py
  18. +0 −1 IPython/lib/__init__.py
  19. +0 −1 IPython/lib/guisupport.py
  20. +0 −1 IPython/lib/inputhook.py
  21. +0 −1 IPython/lib/inputhookgtk.py
  22. +0 −1 IPython/lib/inputhookwx.py
  23. +0 −1 IPython/lib/tests/test_imports.py
  24. +0 −1 IPython/parallel/apps/baseapp.py
  25. +0 −1 IPython/parallel/apps/launcher.py
  26. +0 −1 IPython/parallel/apps/logwatcher.py
  27. +0 −1 IPython/parallel/apps/win32support.py
  28. +0 −1 IPython/parallel/apps/winhpcjob.py
  29. 0 IPython/parallel/controller/heartmonitor.py
  30. +0 −1 IPython/parallel/controller/hub.py
  31. +0 −1 IPython/parallel/engine/engine.py
  32. +0 −1 IPython/parallel/engine/streamkernel.py
  33. +0 −3 IPython/quarantine/ipy_gnuglobal.py
  34. +0 −3 IPython/quarantine/ipy_render.py
  35. +0 −2 IPython/quarantine/ipy_workdir.py
  36. 0 IPython/testing/mkdoctests.py
  37. +0 −1 IPython/testing/tests/test_tools.py
  38. +0 −1 IPython/utils/ipstruct.py
  39. +0 −1 IPython/utils/notification.py
  40. +0 −1 IPython/utils/syspathcontext.py
  41. +0 −1 IPython/utils/tests/test_traitlets.py
  42. +0 −1 IPython/utils/traitlets.py
  43. 0 IPython/utils/upgradedir.py
  44. +0 −1 IPython/zmq/kernelapp.py
  45. +0 −1 IPython/zmq/session.py
@@ -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>
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.

0 comments on commit a8c5475

Please sign in to comment.