You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2013/12/09 23:48:50 UTC
git commit: Minor fix for script-without-shebang: MESOS-831.
Updated Branches:
refs/heads/master 5efe7d7bb -> 9204faf46
Minor fix for script-without-shebang: MESOS-831.
From: Timothy St. Clair <ts...@redhat.com>
Review: https://reviews.apache.org/r/15764
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9204faf4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9204faf4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9204faf4
Branch: refs/heads/master
Commit: 9204faf46ccc28eccf6e6cf6775ee00b416cf759
Parents: 5efe7d7
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Mon Dec 9 14:47:37 2013 -0800
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Mon Dec 9 14:48:39 2013 -0800
----------------------------------------------------------------------
src/cli/python/mesos/__init__.py | 17 +++++++++++++++++
src/cli/python/mesos/cli.py | 18 ++++++++++++++++++
src/cli/python/mesos/futures.py | 18 ++++++++++++++++++
src/cli/python/mesos/http.py | 18 ++++++++++++++++++
4 files changed, 71 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/9204faf4/src/cli/python/mesos/__init__.py
----------------------------------------------------------------------
diff --git a/src/cli/python/mesos/__init__.py b/src/cli/python/mesos/__init__.py
index e69de29..028b0d2 100644
--- a/src/cli/python/mesos/__init__.py
+++ b/src/cli/python/mesos/__init__.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
http://git-wip-us.apache.org/repos/asf/mesos/blob/9204faf4/src/cli/python/mesos/cli.py
----------------------------------------------------------------------
diff --git a/src/cli/python/mesos/cli.py b/src/cli/python/mesos/cli.py
index f32ba49..857059e 100644
--- a/src/cli/python/mesos/cli.py
+++ b/src/cli/python/mesos/cli.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Helper for printing out a message and then the "usage" then exiting.
def usage(message, parser):
import sys
http://git-wip-us.apache.org/repos/asf/mesos/blob/9204faf4/src/cli/python/mesos/futures.py
----------------------------------------------------------------------
diff --git a/src/cli/python/mesos/futures.py b/src/cli/python/mesos/futures.py
index be374cf..da2f4ce 100644
--- a/src/cli/python/mesos/futures.py
+++ b/src/cli/python/mesos/futures.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
try:
from concurrent.futures import *
except ImportError:
http://git-wip-us.apache.org/repos/asf/mesos/blob/9204faf4/src/cli/python/mesos/http.py
----------------------------------------------------------------------
diff --git a/src/cli/python/mesos/http.py b/src/cli/python/mesos/http.py
index 9db9e23..0e19aa8 100644
--- a/src/cli/python/mesos/http.py
+++ b/src/cli/python/mesos/http.py
@@ -1,3 +1,21 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Helper for doing an HTTP GET given a PID, a path, and a query dict.
# For example:
#