Skip to content

Commit

Permalink
Merge pull request #4875 from psafont/private/paus/python2
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Dec 16, 2022
2 parents 4ec6be9 + 2b627d5 commit c010662
Show file tree
Hide file tree
Showing 26 changed files with 24 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import sys
sys.path.append("/home/vagrant/djs55/dbus-test/python")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import sys
sys.path.append("/home/vagrant/djs55/dbus-test/python")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import sys
sys.path.append("/home/vagrant/djs55/dbus-test/python")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import sys
sys.path.append("/home/vagrant/djs55/dbus-test/python")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (C) Citrix Systems, Inc.
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PREFIX?=/usr
PYTHON?=python
PYTHON?=python2

.PHONY: build release clean install uninstall

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) Citrix Systems Inc.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) Citrix Systems Inc.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) Citrix Systems Inc.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) Citrix Systems Inc.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (C) Citrix Systems Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/xapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (c) 2013-2018, Citrix Inc.
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/xapi/storage/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#!/usr/bin/env python
#!/usr/bin/env python2
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/xapi/storage/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#!/usr/bin/env python
#!/usr/bin/env python2
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/xapi/storage/api/v5/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#!/usr/bin/env python
#!/usr/bin/env python2
2 changes: 1 addition & 1 deletion ocaml/xapi-storage/python/xapi/storage/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

from xapi.storage import log
import xapi
Expand Down
1 change: 1 addition & 0 deletions xapi-database.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ depends: [
"rpclib"
"base-threads"
"uuid"
"xapi-datamodel"
"xapi-schema"
"xapi-stdext-encodings"
"xapi-stdext-pervasives"
Expand Down
2 changes: 1 addition & 1 deletion xapi-datamodel.opam
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ depends: [
"rpclib"
"base-threads"
"xapi-consts"
"xapi-database"
"xapi-schema"
"xapi-stdext-date"
"xapi-stdext-std"
"xapi-stdext-unix"
Expand Down
1 change: 1 addition & 0 deletions xapi-schema.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ depends: [
"dune"
"ppx_sexp_conv"
"sexpr"
"xapi-log"
"xapi-stdext-encodings"
]
synopsis: "The xapi toolstack daemon which implements the XenAPI"
Expand Down
4 changes: 0 additions & 4 deletions xapi-storage-script.opam
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ depends: [
"ppx_sexp_conv"
"xapi-stdext-date"
]
# python 2.7 is not enough to ensure the availability of 'python' in these
depexts: [
["python"] {os-family = "debian" & with-test}
]
synopsis: "A directory full of scripts can be a Xapi storage implementation"
description: """
This daemon watches a directory for subdirectories, and when a subdir
Expand Down
4 changes: 0 additions & 4 deletions xapi-storage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ depends: [
"xmlm"
"cmdliner"
]
# python 2.7 is not enough to ensure the availability of 'python' in these
depexts: [
["python"] {os-family = "debian"}
]
synopsis: "Code and documentation generator for the Xapi storage interface"
url {
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
Expand Down

0 comments on commit c010662

Please sign in to comment.