from apt.debfile import DebPackage
ssh = DebPackage('openssh-server_5.5p1-6+squeeze1_amd64.deb')
print(ssh.control_content('conffiles').split('\n'))
['/etc/init.d/ssh', '/etc/default/ssh',
    '/etc/network/if-up.d/openssh-server',
    '/etc/ufw/applications.d/openssh-server', '/etc/pam.d/sshd', '']
Get a List of conffiles in a deb package in python