Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions scripts/vm/hypervisor/xenserver/cloudstack_pluginlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
import logging
import os
import subprocess
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
import copy

from time import localtime, asctime
Expand Down Expand Up @@ -887,4 +890,4 @@ def is_vpc_network_with_distributed_routing(xs_nw_uuid):
output = proc.stdout.read()
if output.endswith('\n'):
output = output[:-1]
return output
return output