Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
9bac7d06
Commit
9bac7d06
authored
Jul 04, 2012
by
Clément Schreiner
Browse files
Fix mistake in last merge.
parent
82a3c424
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/importer/importer.py
View file @
9bac7d06
...
...
@@ -320,7 +320,9 @@ class Importer(object):
# Check for binary or source package file
if
file
.
endswith
(
'.deb'
):
binary_package
=
BinaryPackage
(
package_version
=
package_version
,
arch
=
file
[:
-
4
].
split
(
'_'
)[
-
1
])
binary_package
=
BinaryPackage
(
package_version
=
self
.
package_version
,
arch
=
file
[:
-
4
].
split
(
'_'
)[
-
1
],
name
=
file
.
split
(
'_'
,
1
)[
0
])
meta
.
session
.
add
(
binary_package
)
meta
.
session
.
add
(
PackageFile
(
filename
=
filename
,
binary_package
=
binary_package
,
size
=
size
,
md5sum
=
sum
))
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment