aboutsummaryrefslogtreecommitdiff
path: root/portal-gui/scripts/load_csv.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-01-20 20:48:56 +0000
committerRob Austein <sra@hactrn.net>2011-01-20 20:48:56 +0000
commitf667aeb2a42af39038fb10044405a6c02cc14531 (patch)
tree023172e6d23548069b4b91fa552d878cf44e0473 /portal-gui/scripts/load_csv.py
parent7c26e04d89406d7af06d2ad2c951d9d50a797cf0 (diff)
UNTESTED changes to port-gui to match myrpki.conf => rpki.conf changes
into line with the other Python code portal-gui needs a bit more work to bring its autoconf into line with the other code, which may include some source tree reorganizations. svn path=/portal-gui/Makefile.in; revision=3621
Diffstat (limited to 'portal-gui/scripts/load_csv.py')
-rwxr-xr-xportal-gui/scripts/load_csv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portal-gui/scripts/load_csv.py b/portal-gui/scripts/load_csv.py
index 61ec15b6..476539b9 100755
--- a/portal-gui/scripts/load_csv.py
+++ b/portal-gui/scripts/load_csv.py
@@ -20,7 +20,7 @@
# Primarly useful for the initial load, as the GUI does not sync changes
# made directly to the csv files back into the database.
#
-# This script should be run from the directory containing the myrpki.conf
+# This script should be run from the directory containing the rpki.conf
# for the handle you are loading data
#
@@ -36,7 +36,7 @@ from rpki.myrpki import csv_reader
from rpkigui.myrpki import models
from rpkigui.myrpki.views import add_roa_requests
-cfg_file = os.getenv("MYRPKI_CONF", "myrpki.conf")
+cfg_file = os.getenv("RPKI_CONF", "rpki.conf")
cfg = rpki.config.parser(cfg_file, "myrpki")
handle = cfg.get('handle')
asn_csv = cfg.get('asn_csv')
id='n161' href='#n161'>161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277