Ignore:
Timestamp:
Feb 9, 2013, 5:19:11 PM (12 years ago)
Author:
achernya
Message:
Revert r2367, as it should go to locker-dev first
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/deploy/bin/django

    r2367 r2368  
    5959  if (/Your Name/) {
    6060    $_ = "    ('$USER', '$email'),";
    61   } elsif (/^DEBUG = /) {
    62       $_ =~ s/DEBUG/import os\n\nDEBUG/;
    6361  } elsif (/'ENGINE'/) {
    6462    $_ = "        'ENGINE': 'django.db.backends.mysql',";
     
    6664    $_ = "        'NAME': '$sqldb',";
    6765  } elsif (/'USER'/) {
    68     $_ = "        'OPTIONS': {\n            'read_default_file' : os.path.expanduser('~/.my.cnf'),\n        },";
     66    $_ = "        'USER': '$sqluser',";
    6967  } elsif (/'PASSWORD'/) {
    70       next;
     68    $_ = "        'PASSWORD': '$sqlpass',";
    7169  } elsif (/'HOST'/) {
    72       next;
     70    $_ = "        'HOST': '$sqlhost',";
    7371  } elsif (/Chicago/) {
    7472    $_ =~ s/Chicago/New_York/;
Note: See TracChangeset for help on using the changeset viewer.