differences between ubuntu and fedora python

Discussion in 'Python' started by Eric S. Johansson, Dec 7, 2006.

  1. fedora
    [root@lbox ~]# file /etc/postfix/transport*
    /etc/postfix/transport: ASCII English text
    /etc/postfix/transport.db: Berkeley DB (Hash, version 8, native
    byte-order)


    # python /usr/lib/python2.4/whichdb.py /etc/postfix/transport
    UNKNOWN /etc/postfix/transport
    # python /usr/lib/python2.4/whichdb.py /etc/postfix/transport.db
    dbhash /etc/postfix/transport.db

    ubuntu
    /etc/postfix/transport: ASCII text
    /etc/postfix/transport.db: Berkeley DB (Hash, version 8, native byte-order)

    # python /usr/lib/python2.4/whichdb.py /etc/postfix/transport
    dbm /etc/postfix/transport
    # python /usr/lib/python2.4/whichdb.py /etc/postfix/transport.db
    dbhash /etc/postfix/transport.db

    why the difference? according to the whichdb code, It looks for the .db
    form and should pick it up except it isn't.
     
    Eric S. Johansson, Dec 7, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris
    Replies:
    0
    Views:
    409
    Chris
    Apr 14, 2004
  2. SPE - Stani's Python Editor
    Replies:
    1
    Views:
    477
    SPE - Stani's Python Editor
    Apr 29, 2008
  3. Stef Mientki

    PDF warning under Ubuntu and Fedora

    Stef Mientki, Oct 15, 2008, in forum: Python
    Replies:
    0
    Views:
    288
    Stef Mientki
    Oct 15, 2008
  4. Home_Job_opportunity
    Replies:
    0
    Views:
    528
    Home_Job_opportunity
    Jan 8, 2009
  5. Home_Job_opportunity
    Replies:
    0
    Views:
    617
    Home_Job_opportunity
    Jan 14, 2009
Loading...

Share This Page