hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
21756bb7f1458c42313dc7c0a2579a4abaf758a7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,7 @@
'use strict';
var PrimusError = require('./errors').PrimusError
+ , EventEmitter = require('eventemitter3')
, Transformer = require('./transformer')
, Spark = require('./spark')
, fuse = require('fus... | [bug] Adding EventEmitter back to global ns | primus_primus | train | js |
de6aae79af7342be09edd4a8e54d38b1e92d7bba | diff --git a/Search/Adapter/TestAdapter.php b/Search/Adapter/TestAdapter.php
index <HASH>..<HASH> 100644
--- a/Search/Adapter/TestAdapter.php
+++ b/Search/Adapter/TestAdapter.php
@@ -87,7 +87,7 @@ class TestAdapter implements AdapterInterface
public function search(SearchQuery $searchQuery)
{
$hits =... | temporarily disabled global search feature of test adapter | massiveart_MassiveSearchBundle | train | php |
4a42f5285d3cc174121d176e37cc84ad79b36fc4 | diff --git a/spec/actors/hyrax/actors/file_set_actor_spec.rb b/spec/actors/hyrax/actors/file_set_actor_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/actors/hyrax/actors/file_set_actor_spec.rb
+++ b/spec/actors/hyrax/actors/file_set_actor_spec.rb
@@ -275,7 +275,7 @@ RSpec.describe Hyrax::Actors::FileSetActor do
... | Fix FileSet comparision issue in spec
This test is failing because of a dependency issue(?). It used to reliably
compare `FileSet` instances, but now reliabily treats identical instances
different. Comparing the ids is adequate for test purposes.
Did FileSet equality change? Does it need to change back? | samvera_hyrax | train | rb |
a96d7638b28440c70b169a75d949a8d24920fefe | diff --git a/libraries/legacy/installer/adapters/module.php b/libraries/legacy/installer/adapters/module.php
index <HASH>..<HASH> 100644
--- a/libraries/legacy/installer/adapters/module.php
+++ b/libraries/legacy/installer/adapters/module.php
@@ -466,9 +466,11 @@ class JInstallerModule extends JAdapterInstance
$nam... | Fix broken module installation in Postgresql because of NULL constraint | joomla_joomla-framework | train | php |
f5b82c76fb2f3dd760ef37e4bf8514ec23442d00 | diff --git a/spyder/plugins/editor/widgets/editor.py b/spyder/plugins/editor/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/widgets/editor.py
+++ b/spyder/plugins/editor/widgets/editor.py
@@ -2329,14 +2329,15 @@ class EditorStack(QWidget):
if not osp.isfile(finfo.filename):
... | only check the file if windows and add support to python 2 | spyder-ide_spyder | train | py |
207d43926fb5e41e3da1adfe994ff427cb08da43 | diff --git a/sdl/events.go b/sdl/events.go
index <HASH>..<HASH> 100644
--- a/sdl/events.go
+++ b/sdl/events.go
@@ -546,9 +546,14 @@ func WaitEvent() Event {
}
// PushEvent (https://wiki.libsdl.org/SDL_PushEvent)
-func PushEvent(event Event) int {
+func PushEvent(event Event) (filtered bool, err error) {
_event :=... | Change PushEvent() to return (filtered bool, err error) instead of int | veandco_go-sdl2 | train | go |
ca15ef723bd4933a42d34d36fda8ce2a593a9e60 | diff --git a/mode/yaml-frontmatter/yaml-frontmatter.js b/mode/yaml-frontmatter/yaml-frontmatter.js
index <HASH>..<HASH> 100644
--- a/mode/yaml-frontmatter/yaml-frontmatter.js
+++ b/mode/yaml-frontmatter/yaml-frontmatter.js
@@ -59,6 +59,10 @@
innerMode: function (state) {
return {mode: curMode(state), st... | [yaml-frontmatter mode] Pass through indentation queries to inner modes
Closes #<I> | codemirror_CodeMirror | train | js |
c9a4c09920d18667f08abe72a68242fba374926c | diff --git a/cflib/positioning/__init__.py b/cflib/positioning/__init__.py
index <HASH>..<HASH> 100644
--- a/cflib/positioning/__init__.py
+++ b/cflib/positioning/__init__.py
@@ -21,4 +21,3 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
... | #<I> Fixed Flake8 problem | bitcraze_crazyflie-lib-python | train | py |
0e19b0211fb5699245b2847a45f9a2ff6769df54 | diff --git a/pysnmp/proto/api/v2c.py b/pysnmp/proto/api/v2c.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/api/v2c.py
+++ b/pysnmp/proto/api/v2c.py
@@ -58,12 +58,12 @@ class PDUAPI(v1.PDUAPI):
return [ varBinds ]
def setEndOfMibError(self, pdu, errorIndex):
- varBindList = self.apiGetVarBindLi... | * switched to setComponentByPosition() at pyasn1 sequences
* syntax typo fixed | etingof_pysnmp | train | py |
a67eaf1ebf8f69f52256b4c681d8009c9539763d | diff --git a/pyamg/strength.py b/pyamg/strength.py
index <HASH>..<HASH> 100644
--- a/pyamg/strength.py
+++ b/pyamg/strength.py
@@ -86,7 +86,6 @@ from scipy.sparse import csr_matrix, isspmatrix_csr, bsr_matrix, isspmatrix_bsr,
import scipy.sparse
from scipy.linalg import pinv2
from pyamg.utils import approximate_spec... | added a call to ravel at a spot in ode_strenght to fix an occasional error with incorrect array dimensions | pyamg_pyamg | train | py |
0469a8bfd3559f69c5bd0fc040647ce4783288a4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ requires = ['numpy >=1.13', 'pillow', 'pyresample >=1.11.0', 'trollsift',
'dask[array] >=0.17.1', 'pyproj', 'zarr']
test_requires = ['behave', 'h5py', 'netCDF4', 'pyhdf', 'imageio', 'libtiff',
- ... | Add pycoast and pydecorate to test requirements | pytroll_satpy | train | py |
40743d449f3d76fa2561b11b6eda590602fde3a9 | diff --git a/lib/scrapper/index.js b/lib/scrapper/index.js
index <HASH>..<HASH> 100644
--- a/lib/scrapper/index.js
+++ b/lib/scrapper/index.js
@@ -50,7 +50,7 @@ var submitLoginForm = function (login, pass) {
//presses "allow access" button on VK permissions page
var confirmPermissions = function () {
try {
- ... | Fixed issue with markup changes on VK permission screen | DarkXaHTeP_vk-auth | train | js |
0678c431a3525ba258a678dcbd0d9b536f48f0ec | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,7 +11,8 @@ L.Marker.prototype.onAdd = function() {
_onAdd.apply(self, arguments);
var iconInstance = self.options.icon;
if (iconInstance && iconInstance._cssIn) {
- iconInstance._cssIn(self._icon, self._shadow);
+ ... | Don't transition when marker is out of view. | naturalatlas_leaflet-transitionedicon | train | js |
fc0bd9412cbcece8715449916f96fc1ddc51a71f | diff --git a/testing/test_skipping.py b/testing/test_skipping.py
index <HASH>..<HASH> 100644
--- a/testing/test_skipping.py
+++ b/testing/test_skipping.py
@@ -432,7 +432,7 @@ class TestSkip:
""")
result = testdir.runpytest('-rs')
result.stdout.fnmatch_lines([
- "*Skipped instance*"... | Test that "unconditional skip" is the default reason if none given | vmalloc_dessert | train | py |
b0d3483b38cbea1a95a81e21875c5b11e18f26cd | diff --git a/src/paging/Paging.js b/src/paging/Paging.js
index <HASH>..<HASH> 100644
--- a/src/paging/Paging.js
+++ b/src/paging/Paging.js
@@ -9,6 +9,13 @@ export default class Paging extends Component {
};
this.onPrevOrNext = this.onPrevOrNext.bind(this);
}
+ componentWillReceiveProps(nextProps) {
+ i... | fix(Paging): fix activePage props is not update. | uiwjs_uiw | train | js |
d53f030b81c028e574cf12477f6b98ac7f75a199 | diff --git a/src/link_finder.php b/src/link_finder.php
index <HASH>..<HASH> 100644
--- a/src/link_finder.php
+++ b/src/link_finder.php
@@ -79,27 +79,67 @@ class LinkFinder{
"za", "zm", "zw",
// Popular ICANN-era generic top-level domains
+ // https://domainnamestat.com/statistics/tldtype/new
// TODO: Add mo... | Added some more generic TLDs | yarri_LinkFinder | train | php |
7d9c6cd1a6a4600d0e7d837fe160ba40375914de | diff --git a/lib/server/index.js b/lib/server/index.js
index <HASH>..<HASH> 100644
--- a/lib/server/index.js
+++ b/lib/server/index.js
@@ -198,7 +198,9 @@ module.exports.createProxy = function (options, scripts, bs) {
rules: snippetUtils.getRegex(options.snippet, options.snippetOptions),
ignoreP... | Add debugging logs for proxy | BrowserSync_browser-sync | train | js |
b0689a66924f22efe06ac7ead7ab23e5b1a86dbd | diff --git a/phraseapp/lib.go b/phraseapp/lib.go
index <HASH>..<HASH> 100644
--- a/phraseapp/lib.go
+++ b/phraseapp/lib.go
@@ -26,6 +26,10 @@ type Account struct {
UpdatedAt *time.Time `json:"updated_at"`
}
+type AccountDetails struct {
+ Slug string `json:"slug"`
+}
+
type AffectedCount struct {
RecordsAffecte... | add slug to AccountShow and ProjectShow | phrase_phraseapp-go | train | go |
f6c9012cb9589b37654e6814d353399109b6abe7 | diff --git a/test/pagelet.test.js b/test/pagelet.test.js
index <HASH>..<HASH> 100644
--- a/test/pagelet.test.js
+++ b/test/pagelet.test.js
@@ -14,6 +14,21 @@ describe('Pagelet', function () {
pagelet = null;
});
+ describe('.on', function () {
+ it('sets the pathname', function () {
+ var pagelet = P... | [test] Added test for Pagelet.on() | bigpipe_pagelet | train | js |
40f86590ea2ab307a229e5d27e3b61177bd7711c | diff --git a/src/test/java/net/emaze/dysfunctional/multiplexing/MultiplexingTest.java b/src/test/java/net/emaze/dysfunctional/multiplexing/MultiplexingTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/emaze/dysfunctional/multiplexing/MultiplexingTest.java
+++ b/src/test/java/net/emaze/dysfunctional/multiple... | enh: roundrobin tests | cybazeitalia_emaze-dysfunctional | train | java |
8df90f9da07aca982dcb17d53d2fc1e6291709c3 | diff --git a/lib/active_repository/base.rb b/lib/active_repository/base.rb
index <HASH>..<HASH> 100644
--- a/lib/active_repository/base.rb
+++ b/lib/active_repository/base.rb
@@ -273,7 +273,7 @@ module ActiveRepository
private_class_method :set_callback
def execute_callbacks(callbacks)
- callback... | Forcing type of callbacks to array | efreesen_active_repository | train | rb |
5bb157923f7ff5dff3588e56908466607e4288b5 | diff --git a/cluster/cluster.go b/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/cluster/cluster.go
+++ b/cluster/cluster.go
@@ -18,6 +18,8 @@ var (
type Config struct {
ClusterId string
NodeId string
+ MgtIface string
+ DataIface string
}
// NodeEntry is used to discover other nodes in the cluster | - add MgtIface and DataIface to cluster Config | libopenstorage_openstorage | train | go |
395b93f34ae94e9107095bfae3209971b63b5486 | diff --git a/generators/docker-base.js b/generators/docker-base.js
index <HASH>..<HASH> 100644
--- a/generators/docker-base.js
+++ b/generators/docker-base.js
@@ -103,10 +103,9 @@ function loadConfigs() {
// Loading configs
this.debug(`Apps folders: ${this.appsFolders}`);
this.appsFolders.forEach(appFold... | fix: fetch configuration from the blueprints | jhipster_generator-jhipster | train | js |
cb751ce1515feb403102dcbea38d20b4a0d2331f | diff --git a/src/react/svg/svg.js b/src/react/svg/svg.js
index <HASH>..<HASH> 100644
--- a/src/react/svg/svg.js
+++ b/src/react/svg/svg.js
@@ -27,7 +27,7 @@ export class Svg extends React.PureComponent {
svgPathLoader(src) {
try {
- return require(`!!babel-loader?{"presets":["react"]}!react-svg-loader?{"... | Replace require with __non_webpack_require__ to avoid module not found warning [#<I>] | pivotal-cf_pivotal-ui | train | js |
1bdea24ffcb39912d8e33db8ff3d4384025b2379 | diff --git a/src/server/pachyderm_test.go b/src/server/pachyderm_test.go
index <HASH>..<HASH> 100644
--- a/src/server/pachyderm_test.go
+++ b/src/server/pachyderm_test.go
@@ -4015,7 +4015,6 @@ func TestManyLogs(t *testing.T) {
}
func TestLokiLogs(t *testing.T) {
- // TODO(2.0 required): This test is taking too long... | Remove comment about test taking too long. | pachyderm_pachyderm | train | go |
08180bbfeafe7334c7717e3461163f183de85cb8 | diff --git a/src/bundle/Controller/ContentViewController.php b/src/bundle/Controller/ContentViewController.php
index <HASH>..<HASH> 100644
--- a/src/bundle/Controller/ContentViewController.php
+++ b/src/bundle/Controller/ContentViewController.php
@@ -315,7 +315,7 @@ class ContentViewController extends Controller
... | EZP-<I>: The IsContainer method does not need arguments after the developer has access to ContentType on Content | ezsystems_ezplatform-admin-ui | train | php,php |
5277365cb04c74fc81db44eb8d8a40a31f58ea0b | diff --git a/tests/Sabre/CardDAV/AddressBookTest.php b/tests/Sabre/CardDAV/AddressBookTest.php
index <HASH>..<HASH> 100644
--- a/tests/Sabre/CardDAV/AddressBookTest.php
+++ b/tests/Sabre/CardDAV/AddressBookTest.php
@@ -172,6 +172,9 @@ class AddressBookTest extends \PHPUnit_Framework_TestCase {
function testGetSy... | Making sure these tests are skipped if there's no SqLite. | sabre-io_dav | train | php |
dc1369a33eec4b4d0b4a04da5c7c11e2d3e4aaa9 | diff --git a/CaptchaAction.php b/CaptchaAction.php
index <HASH>..<HASH> 100644
--- a/CaptchaAction.php
+++ b/CaptchaAction.php
@@ -122,7 +122,7 @@ class CaptchaAction extends \yii\captcha\CaptchaAction
for ($i = mb_strlen($code); $i >= 0; --$i) {
$char = mb_substr($code, $i, 1, 'UTF-8');
... | casted hexdec value to int | softark_yii2-mb-captcha | train | php |
9324df3c32f151b36e7ed39d5520fff859d715f5 | diff --git a/app/templates/Gruntfile.js b/app/templates/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/app/templates/Gruntfile.js
+++ b/app/templates/Gruntfile.js
@@ -351,6 +351,7 @@ module.exports = function (grunt) {
dist: {
options: {
buildnumber: true,
+ indentSize: 2,
... | style(manifest): indentation remains unchanged after build | yeoman_generator-chrome-extension | train | js |
dc25ad0b27c8993a7e461abdb540b98c734ec696 | diff --git a/bcbio/rnaseq/arriba.py b/bcbio/rnaseq/arriba.py
index <HASH>..<HASH> 100644
--- a/bcbio/rnaseq/arriba.py
+++ b/bcbio/rnaseq/arriba.py
@@ -8,7 +8,7 @@ from bcbio import utils
from bcbio.distributed.transaction import file_transaction
from bcbio.provenance import do
-SUPPORTED_BUILDS = ("hg38", "GRCh37",... | Add mm<I> as a supported fusion caller from arriba. | bcbio_bcbio-nextgen | train | py |
3565957163ce58e2f661f7dfda7fc691f39a778f | diff --git a/classes/Gems/Model/RespondentModel.php b/classes/Gems/Model/RespondentModel.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Model/RespondentModel.php
+++ b/classes/Gems/Model/RespondentModel.php
@@ -290,6 +290,8 @@ class Gems_Model_RespondentModel extends \Gems_Model_HiddenOrganizationModel
... | Fixed #<I> Masked fields have been excluded in the text searches | GemsTracker_gemstracker-library | train | php,php |
4889f9041108b7193784c660bc2fb53c20e116e1 | diff --git a/tests/cases/net/http/MediaTest.php b/tests/cases/net/http/MediaTest.php
index <HASH>..<HASH> 100644
--- a/tests/cases/net/http/MediaTest.php
+++ b/tests/cases/net/http/MediaTest.php
@@ -148,7 +148,8 @@ class MediaTest extends \lithium\test\Unit {
$result = Media::asset('this.file.should.not.exist', 'css... | Skipping tests in `Media` if no `webroot` directory present in default library. | UnionOfRAD_lithium | train | php |
3d5aa8a4fccaa35e28e716f00988ca4354b03849 | diff --git a/spec/tree/values/nodes/ParagraphSpec.js b/spec/tree/values/nodes/ParagraphSpec.js
index <HASH>..<HASH> 100644
--- a/spec/tree/values/nodes/ParagraphSpec.js
+++ b/spec/tree/values/nodes/ParagraphSpec.js
@@ -20,7 +20,7 @@ describe( "Paragraph tree node", () => {
expect( paragraphElement.endHtml ).toEqual(... | Update spec/tree/values/nodes/ParagraphSpec.js | Yoast_YoastSEO.js | train | js |
ed00b22574a9cf0b119c29c767621223c4107a47 | diff --git a/code/forms/GridFieldSortableRows.php b/code/forms/GridFieldSortableRows.php
index <HASH>..<HASH> 100644
--- a/code/forms/GridFieldSortableRows.php
+++ b/code/forms/GridFieldSortableRows.php
@@ -102,7 +102,7 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
//Det... | Fixed undefined variable $gridField which would cascade into a fatal error when correcting sort indexes of 0 on many_many relationships | UndefinedOffset_SortableGridField | train | php |
b65a75c826f32d5f397cd9eb9649ca926923119b | diff --git a/werkzeug/contrib/profiler.py b/werkzeug/contrib/profiler.py
index <HASH>..<HASH> 100644
--- a/werkzeug/contrib/profiler.py
+++ b/werkzeug/contrib/profiler.py
@@ -10,10 +10,14 @@
"""
import sys
try:
- from cProfile import Profile
+ try:
+ from cProfile import Profile
+ except ImportError:... | added trap for the profiler
--HG--
branch : trunk | pallets_werkzeug | train | py |
348e151e661cf556d525fee8ac23119bccdddd30 | diff --git a/PHPCompatibility/Sniff.php b/PHPCompatibility/Sniff.php
index <HASH>..<HASH> 100644
--- a/PHPCompatibility/Sniff.php
+++ b/PHPCompatibility/Sniff.php
@@ -1221,27 +1221,6 @@ abstract class Sniff implements PHPCS_Sniff
}
-
- /**
- * Determine whether a ternary is a short ternary, i.e. without... | Sniff::isShortTernary(): remove the function | PHPCompatibility_PHPCompatibility | train | php |
d079b493c7f536ea03499943b7794e93f0c6dad2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,3 @@
'use strict';
-module.exports = require('path');
+module.exports = require('./src/formatter'); | updated index.js with correct src path | andreogle_gulp-eslint-teamcity-formatter | train | js |
472b070792b57ac89b8f644062bf2d66d38f0ed1 | diff --git a/troposphere/codecommit.py b/troposphere/codecommit.py
index <HASH>..<HASH> 100644
--- a/troposphere/codecommit.py
+++ b/troposphere/codecommit.py
@@ -3,7 +3,7 @@
#
# See LICENSE file for full license.
-from . import AWSHelperFn, AWSObject, AWSProperty
+from . import AWSHelperFn, AWSObject, AWSProperty,... | Add Tags to AWS::CodeCommit::Repository | cloudtools_troposphere | train | py |
621caf370344573d754f1b2203a4d42725461104 | diff --git a/backbone-nested.js b/backbone-nested.js
index <HASH>..<HASH> 100644
--- a/backbone-nested.js
+++ b/backbone-nested.js
@@ -95,13 +95,13 @@
// remove the element from the array
val.splice(i, 1);
+ opts.silent = true; // Triggers should only be fired in trigger section below
this.s... | Stopped double fire of trigger when removing deeply nested items. | afeld_backbone-nested | train | js |
f901862a9608f9a594dcebec250606834d1941f7 | diff --git a/code/libraries/koowa/controller/default.php b/code/libraries/koowa/controller/default.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/controller/default.php
+++ b/code/libraries/koowa/controller/default.php
@@ -9,13 +9,13 @@
*/
/**
- * Action Controller Class
+ * Default Controller Class
... | KControllerDefault now extends from KControllerResource | joomlatools_joomlatools-framework | train | php |
99e539312bcac8b90c856d1bd7fbe9986b7885d4 | diff --git a/src/display/TilingSprite.js b/src/display/TilingSprite.js
index <HASH>..<HASH> 100644
--- a/src/display/TilingSprite.js
+++ b/src/display/TilingSprite.js
@@ -13,4 +13,14 @@ TilingSprite.prototype = Object.create(PixiTilingSprite.prototype);
TilingSprite.prototype.constructor = TilingSprite;
utils.mixin(T... | Added some methods at TilingSprite | Nazariglez_perenquen | train | js |
261c34c291e0bdd04d60006349b61e1a8f8b6a49 | diff --git a/lib/webinterface_handler.py b/lib/webinterface_handler.py
index <HASH>..<HASH> 100644
--- a/lib/webinterface_handler.py
+++ b/lib/webinterface_handler.py
@@ -49,6 +49,7 @@ from invenio.config import CFG_SITE_LANG, CFG_SITE_URL, CFG_SITE_SECURE_URL, CFG
from invenio.messages import wash_language
from inve... | Implemented permanent sessions support - a.k.a Remember Me, automatic
preferred language discovery and language configuration in the user
preferences. | inveniosoftware_invenio-base | train | py |
4c9f90fcf617811fb8a84e5fbad90df7c0a95408 | diff --git a/lib/sass.rb b/lib/sass.rb
index <HASH>..<HASH> 100644
--- a/lib/sass.rb
+++ b/lib/sass.rb
@@ -47,7 +47,7 @@ module Sass
end
options[:filename] = filename
options[:css_filename] = css_filename
- result = compile(File.read(filename), options)
+ result = Sass::Files.tree_for(filename, opt... | Use Sass::Files.tree_for to compile files found on disk. | sass_ruby-sass | train | rb |
fafbcc51b52e0fc373b2c2621078d770b5b6d66c | diff --git a/mod/data/edit.php b/mod/data/edit.php
index <HASH>..<HASH> 100755
--- a/mod/data/edit.php
+++ b/mod/data/edit.php
@@ -320,9 +320,11 @@
/// Finish the page
-
+
// Print the stuff that need to come after the form fields.
- $fields = get_records('data_fields', 'dataid', $data->id);
+ if (!... | Merged fix for bug: when a student tries to add an entry and no fields are
defined, the foreach barfs since the value of $fields is false. | moodle_moodle | train | php |
1847ef6bd31ecd38fe5d19e54c47a812cb2ed303 | diff --git a/plugin/file/file.go b/plugin/file/file.go
index <HASH>..<HASH> 100644
--- a/plugin/file/file.go
+++ b/plugin/file/file.go
@@ -121,6 +121,12 @@ func (s *serialErr) Error() string {
// it returns an error indicating nothing was read.
func Parse(f io.Reader, origin, fileName string, serial int64) (*Zone, er... | plugin/file: Fix memory leak in Parse (#<I>)
For zone files with more than <I>,<I> records, the goroutines and memory
pinned by dns.ParseZone won't be released unless the tokens chan is
drained. As Parse is called by (*Zone).Reload very frequently, this
causes memory leaks and OOM conditions.
Updates miekg/dns#<... | coredns_coredns | train | go |
a7d6af61dd5132dff2678827a14c86b27a64e43a | diff --git a/src/DaGardner/DaContainer/Container.php b/src/DaGardner/DaContainer/Container.php
index <HASH>..<HASH> 100644
--- a/src/DaGardner/DaContainer/Container.php
+++ b/src/DaGardner/DaContainer/Container.php
@@ -209,15 +209,15 @@ class Container implements ArrayAccess
}, false);
}
- public fun... | Switched usage of onResolving event | ChristianGaertner_DaContainer | train | php |
66116dc02b59dbbd9f7827bf09f20e82db4c2fbe | diff --git a/lib/base.js b/lib/base.js
index <HASH>..<HASH> 100644
--- a/lib/base.js
+++ b/lib/base.js
@@ -97,6 +97,7 @@ class Adapter {
const stream = this.createReadStream(fileName)
const writable = new WritableStreamBuffer()
const promise = new Promise((resolve, reject) => {
+ // errors are not f... | Add check for stream error in base write() | meyfa_fs-adapters | train | js |
70f6ba6bef59c359f41d9f746976295be7c670cd | diff --git a/lib/octokit/error.rb b/lib/octokit/error.rb
index <HASH>..<HASH> 100644
--- a/lib/octokit/error.rb
+++ b/lib/octokit/error.rb
@@ -35,8 +35,7 @@ module Octokit
end
def build_error_context
- rate_limited_errors = [Octokit::TooManyRequests, Octokit::AbuseDetected]
- if rate_limited_er... | Refactor rate limited errors to a constant | octokit_octokit.rb | train | rb |
a0816dc32fbdb91a60d4a5f4ff5035e4d0f7aa40 | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -11735,7 +11735,10 @@ class TFTP_read(Automaton):
# RECEIVED
@ATMT.state()
def RECEIVING(self, pkt):
- recvd = pkt[Raw].load
+ if Raw in pkt:
+ recvd = pkt[Raw].load
+ else:
+ ... | Some fixes in TFTP_read | secdev_scapy | train | py |
2836478c728e2c4b08b1c5faad4b101db53f3114 | diff --git a/src/ORM/PolymorphicHasManyList.php b/src/ORM/PolymorphicHasManyList.php
index <HASH>..<HASH> 100644
--- a/src/ORM/PolymorphicHasManyList.php
+++ b/src/ORM/PolymorphicHasManyList.php
@@ -30,6 +30,14 @@ class PolymorphicHasManyList extends HasManyList
}
/**
+ * Gets the field name which holds... | API Add method to get foreign class key on polymorphic has_many | silverstripe_silverstripe-framework | train | php |
726568bd6d7df7066718e30f6b153f73f6463db8 | diff --git a/src/_internals/set.js b/src/_internals/set.js
index <HASH>..<HASH> 100644
--- a/src/_internals/set.js
+++ b/src/_internals/set.js
@@ -528,10 +528,10 @@ function baseSet(object, path, value, customizer){
}
path = isKey(path, object) ? [ path ] : castPath(path)
- const index = -1,
- { length } = ... | fix: internal set after lint | selfrefactor_rambdax | train | js |
dc62dc5c975f4081a43d9362eb5a26bbd9e4d733 | diff --git a/zpprofile.py b/zpprofile.py
index <HASH>..<HASH> 100644
--- a/zpprofile.py
+++ b/zpprofile.py
@@ -273,7 +273,7 @@ class ZopeMixIn(object):
except KeyError:
return filename
return self._rememberFile(
- script.body().decode('utf-8') + (u'\n## %s\n' % ... | zpprofile: Do not append script id to its body.
Since this was added, file names were changed to closely resemble original
script id. As the id alone is anyway already not enough to identify the
script (ex: when Skinnable magic is involved, multiple homonyms can exist
and be part of the same profiling result), so havi... | vpelletier_pprofile | train | py |
e0eed0d986bb0279011dab8bfcd1c1a03e77222a | diff --git a/src/php/wp-cli/wp-cli.php b/src/php/wp-cli/wp-cli.php
index <HASH>..<HASH> 100755
--- a/src/php/wp-cli/wp-cli.php
+++ b/src/php/wp-cli/wp-cli.php
@@ -43,10 +43,12 @@ if ( is_readable( $_SERVER['PWD'] . '/../wp-load.php' ) ) {
if ( !is_readable( WP_ROOT . 'wp-load.php' ) ) {
if ( array( 'core', 'downlo... | add --path flag to allow wordpress installation somewhere other than ./ | wp-cli_export-command | train | php |
cb77784d2ae73c8f85babc5b058eb7524300d050 | diff --git a/src/ol/control/Attribution.js b/src/ol/control/Attribution.js
index <HASH>..<HASH> 100644
--- a/src/ol/control/Attribution.js
+++ b/src/ol/control/Attribution.js
@@ -70,6 +70,12 @@ class Attribution extends Control {
* @private
* @type {boolean}
*/
+ this.userCollapsed_ = this.collapse... | also restore collapsed state to last user setting | openlayers_openlayers | train | js |
00d13f05c48f249ece22d1fd9fca5728b14e71a3 | diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mysql.py
+++ b/salt/modules/mysql.py
@@ -1622,8 +1622,10 @@ def grant_exists(grant,
if not target_tokens: # Avoid the overhead of re-calc in loop
target_tokens = _grant_to_tokens(targ... | Fix mysql grant comparisons by stripping both of escape characters and quotes. Fixes #<I> | saltstack_salt | train | py |
ce5e93cc72639563bfd8052552712e9b26c6cc9b | diff --git a/public/js/controllers/charts_controller.js b/public/js/controllers/charts_controller.js
index <HASH>..<HASH> 100644
--- a/public/js/controllers/charts_controller.js
+++ b/public/js/controllers/charts_controller.js
@@ -1,4 +1,5 @@
/* global Dygraph */
+/* global Turbolinks */
/* global $ */
import { Co... | back and forward navigation fixed for charts page | decred_dcrdata | train | js |
d7966d22f14375547e263347ec648dcba7b65617 | diff --git a/pandas/core/format.py b/pandas/core/format.py
index <HASH>..<HASH> 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -672,8 +672,8 @@ def _has_names(index):
# Global formatting options
def set_printoptions(precision=None, column_space=None, max_rows=None,
- max_colum... | BUG: colheader_justify/max_colwidth None so don't always reset | pandas-dev_pandas | train | py |
66bb7557515c0d2e6241f74644853a97773ddaef | diff --git a/tests/unit/modules/test_linux_acl.py b/tests/unit/modules/test_linux_acl.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_linux_acl.py
+++ b/tests/unit/modules/test_linux_acl.py
@@ -63,6 +63,22 @@ class LinuxAclTestCase(TestCase, LoaderModuleMockMixin):
linux_acl.getfacl(*self.files, r... | add test for effective acls | saltstack_salt | train | py |
dcfe1e2f2624a9a92bb0464d4b8f5a6aa5516d86 | diff --git a/test/util/playground.js b/test/util/playground.js
index <HASH>..<HASH> 100755
--- a/test/util/playground.js
+++ b/test/util/playground.js
@@ -107,20 +107,3 @@ vorpal
.delimiter('calc:')
.show()
.parse(process.argv);
-
-// vorpal.exec('foo "bar and" -m "so and so"');
-
-/*
-vorpal.catch('[commands.... | fixed #<I> - mid-command inquirer prompt breaks on control + c | dthree_vorpal | train | js |
02fe65a2cddadf386e59d7f889950d51af2bf70a | diff --git a/tests/scripts/examples/sql_coverage/config.py b/tests/scripts/examples/sql_coverage/config.py
index <HASH>..<HASH> 100644
--- a/tests/scripts/examples/sql_coverage/config.py
+++ b/tests/scripts/examples/sql_coverage/config.py
@@ -82,7 +82,7 @@
"ddl": "int-DDL.sql",
... | config.py: lowered the 'precision' for the numeric-ints test suite to 9
(just like numeric-decimals), since I’ve now seen that one fail (once)
with <I>, due to round-off errors. | VoltDB_voltdb | train | py |
5cc7ee1bba9d300bf4eb8d8457aa74de36237df9 | diff --git a/lib/transports/mandrill/getRecipientsAndMergeVars.js b/lib/transports/mandrill/getRecipientsAndMergeVars.js
index <HASH>..<HASH> 100644
--- a/lib/transports/mandrill/getRecipientsAndMergeVars.js
+++ b/lib/transports/mandrill/getRecipientsAndMergeVars.js
@@ -17,7 +17,7 @@ function getRecipientsAndMergeVars ... | Fixing name concatenation with { first, last} for Mandrill merge vars | keystonejs_keystone-email | train | js |
50266a63cf4c055c266c9958a88309913a903571 | diff --git a/src/geom/Position.js b/src/geom/Position.js
index <HASH>..<HASH> 100644
--- a/src/geom/Position.js
+++ b/src/geom/Position.js
@@ -196,7 +196,7 @@ define([
*/
Position.prototype.toString = function () {
return "(" + this.latitude.toString() + "\u00b0, " + this.longitude.toStr... | Missing closing parenthesis in toString method | NASAWorldWind_WebWorldWind | train | js |
a847a7f0ddb83a8c9e75d82d760a6244171d96ac | diff --git a/girder/api/v1/user.py b/girder/api/v1/user.py
index <HASH>..<HASH> 100644
--- a/girder/api/v1/user.py
+++ b/girder/api/v1/user.py
@@ -63,7 +63,7 @@ class User(Resource):
self.route('PUT', (':id', 'verification'), self.verifyEmail)
self.route('POST', ('verification',), self.sendVerificatio... | Only expose user listing endpoint to logged-in users | girder_girder | train | py |
a299b4c2cabf276fd2e32951fcaa1eec4ab167f8 | diff --git a/lib/compiler.js b/lib/compiler.js
index <HASH>..<HASH> 100644
--- a/lib/compiler.js
+++ b/lib/compiler.js
@@ -33,6 +33,8 @@ util.inherits(Compiler, events.EventEmitter);
Compiler.prototype.compileModule = function (contractPath) {
var _this = this;
+ contractPath = contractPath || '';
+
// Read e... | [TASK] Emit filenames when compiling. | codius-deprecated_codius-engine | train | js |
358fb9882505acd98fd26a01ed11cf686b8c8ea8 | diff --git a/common/vr/common/paths.py b/common/vr/common/paths.py
index <HASH>..<HASH> 100644
--- a/common/vr/common/paths.py
+++ b/common/vr/common/paths.py
@@ -29,19 +29,24 @@ def get_proc_path(settings):
return os.path.join(PROCS_ROOT, get_container_name(settings))
-def get_build_path(settings):
+def get_a... | each proc gets its own copy of the build | yougov_vr.common | train | py |
df21faead2b427c56152eca744f12ce8fcc1e0ca | diff --git a/package/index.js b/package/index.js
index <HASH>..<HASH> 100644
--- a/package/index.js
+++ b/package/index.js
@@ -2,10 +2,11 @@
/* eslint import/no-dynamic-require: 0 */
const Environment = require('./environment')
+const { resolve } = require('path')
const { existsSync } = require('fs')
function c... | Resolve full file path + name to fix existsSync check | rails_webpacker | train | js |
be89a464cd05081485b9cd0c671de0dd7c223da6 | diff --git a/src/AlertDialog.js b/src/AlertDialog.js
index <HASH>..<HASH> 100644
--- a/src/AlertDialog.js
+++ b/src/AlertDialog.js
@@ -82,18 +82,12 @@ class AlertDialog extends Dialog {
const key = event.key.length === 1 && event.key.toLowerCase();
if (key) {
- // Loop over choices to see if one of the... | Take advantage of Array.find to simplify mapping a key press to a choice button. | elix_elix | train | js |
719d8243bde89d36dbd3895c05166c36424c0ed1 | diff --git a/snorocket-core/src/main/java/au/csiro/snorocket/core/NormalisedOntology.java b/snorocket-core/src/main/java/au/csiro/snorocket/core/NormalisedOntology.java
index <HASH>..<HASH> 100644
--- a/snorocket-core/src/main/java/au/csiro/snorocket/core/NormalisedOntology.java
+++ b/snorocket-core/src/main/java/au/cs... | Fixed bug in stated axioms calculation. | aehrc_snorocket | train | java |
4996f1d707a6e3fd119aa77911428c7e431942e6 | diff --git a/lib/couchdb/index.js b/lib/couchdb/index.js
index <HASH>..<HASH> 100644
--- a/lib/couchdb/index.js
+++ b/lib/couchdb/index.js
@@ -118,7 +118,7 @@ exports.pollCouch = function (env_config, callback) {
env_config.couch.version = data.version
env_config.couch.vendor = _.findKey(data, funct... | fix(couchdb): correctly detect couchdbs that reply "Welcome" instead of "Welcome!"
* * *
This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:
<URL> | hoodiehq_hoodie-server | train | js |
c968fc7e18a2405b3afb9f8cd5c6dfcc0759d1f0 | diff --git a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/scripts/boot.js b/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/scripts/boot.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/scripts/boot.j... | [INTERNAL][FIX] Demo Kit: Added reference
Reference to old highlighter prettify.js is added.
BCP: <I>
Change-Id: I<I>b<I>a<I>b<I>ce<I>a<I>b<I>a<I>d<I>cf<I> | SAP_openui5 | train | js |
013ee9c5cd164c4f229e69c7d5514ebe3fdd5709 | diff --git a/SimplePie/Sanitize.php b/SimplePie/Sanitize.php
index <HASH>..<HASH> 100644
--- a/SimplePie/Sanitize.php
+++ b/SimplePie/Sanitize.php
@@ -365,13 +365,13 @@ class SimplePie_Sanitize
// Atom XHTML constructs are wrapped with a div by default
// Note: No protection if $html contains a stray </div>!
... | Use the correct DOCTYPEs when sanitizing | simplepie_simplepie | train | php |
34e03f245dbbfaa215983bf167782bae8a671bac | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -44,8 +44,6 @@ function appender(configuration)
loggingObject.environment = configuration.environment;
}
- console.log(MDC);
-
if (MDC && MDC.active)
{
Object.keys(MDC.active).forEach(function(key) | Removed redundant debug logging statement | viskan_log4js-logstash-appender | train | js |
70b0023b828b8dcd24914232741141e903532fff | diff --git a/models/action.go b/models/action.go
index <HASH>..<HASH> 100644
--- a/models/action.go
+++ b/models/action.go
@@ -142,18 +142,6 @@ func updateIssuesCommit(userId, repoId int64, repoUserName, repoName string, com
return err
}
- issue.Repo, err = GetRepositoryById(issue.RepoId)
-
- if err ... | Fix double decrement of issue counter | gogs_gogs | train | go |
1d3e0da183f676ecc70e5aef24f91899483d19fd | diff --git a/code/Extensions/CWPUserDefinedFormExtension.php b/code/Extensions/CWPUserDefinedFormExtension.php
index <HASH>..<HASH> 100644
--- a/code/Extensions/CWPUserDefinedFormExtension.php
+++ b/code/Extensions/CWPUserDefinedFormExtension.php
@@ -60,11 +60,13 @@ class CWPUserDefinedFormExtension extends DataExtensi... | CWPT-<I>: Add placeholder and description to some contact user form example fields | silverstripe_cwp-agencyextensions | train | php |
b896d8d69c3f0d687b3afe9d17dc5bdfd534cba6 | diff --git a/apiserver/client/status.go b/apiserver/client/status.go
index <HASH>..<HASH> 100644
--- a/apiserver/client/status.go
+++ b/apiserver/client/status.go
@@ -133,7 +133,7 @@ func (c *Client) StatusHistory(request params.StatusHistoryRequests) params.Stat
hist []params.DetailedStatus
)
kind := status.... | Fixed incorrect format strings
These were picked up after improving the go vet command used in
scripts/verify.sh and they're only found under Go <I>. go vet under <I>
doesn't seem to do checking for %t. | juju_juju | train | go,go |
65d0eaab1e362185334c6730398711703822c764 | diff --git a/plugins/CoreHome/javascripts/autocomplete.js b/plugins/CoreHome/javascripts/autocomplete.js
index <HASH>..<HASH> 100644
--- a/plugins/CoreHome/javascripts/autocomplete.js
+++ b/plugins/CoreHome/javascripts/autocomplete.js
@@ -78,12 +78,12 @@ $(function () {
// autocomplete.js allow... | Make sure double encoded site name fix works in all cases. | matomo-org_matomo | train | js |
95dc723ed4de2944fad69ef756f8cabbdf772861 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -31,7 +31,7 @@ return array(
'label' => 'Tao base',
'description' => 'TAO meta-extension',
'license' => 'GPL-2.0',
- 'version' => '7.37.2',
+ 'version' => '7.38.0',
'author' => 'Open A... | Bump to version <I> | oat-sa_tao-core | train | php,php |
15c3b7f783b44e02b24c3623bbc0571361acbf4a | diff --git a/src/Everon/FileSystem.php b/src/Everon/FileSystem.php
index <HASH>..<HASH> 100644
--- a/src/Everon/FileSystem.php
+++ b/src/Everon/FileSystem.php
@@ -286,20 +286,27 @@ class FileSystem implements Interfaces\FileSystem
{
return new FileSystem\TmpFile();
}
-
-
+
/**
* @inher... | added is_uploaded_file() to moveUploadedFile() | oliwierptak_Everon1 | train | php |
8bcd000829e50b43d3f8ebda083473d6cde89b9d | diff --git a/core/server/errors.js b/core/server/errors.js
index <HASH>..<HASH> 100644
--- a/core/server/errors.js
+++ b/core/server/errors.js
@@ -166,6 +166,7 @@ var errors = {
}
};
+util.inherits(GhostError, Error);
_.each(errors, function (error) {
util.inherits(error, GhostError);
});
diff --git a/co... | 🐛 GhostError needs to inherit from Error (#<I>)
no issue | TryGhost_Ghost | train | js,js |
44a7e949bffd471f3c43ba77a2be7ce1e04651ce | diff --git a/lib/irc.js b/lib/irc.js
index <HASH>..<HASH> 100755
--- a/lib/irc.js
+++ b/lib/irc.js
@@ -1232,6 +1232,18 @@ Client.prototype.privmsg = function(target, message, forcePushBack) {
send(head.trim());
// and recurse
cutAndSend(tail.trim());
+ } else if (msgStr.indexOf('\n') !== -1) {
+ // s... | Splitting privmsgs via \n and sending as individual messages. Fixes ircanywhere/ircanywhere#<I> | ircanywhere_irc-factory | train | js |
a6d559b9bc4c8efb12a92955f2adb1463b1590bf | diff --git a/externs/w3c_xml.js b/externs/w3c_xml.js
index <HASH>..<HASH> 100644
--- a/externs/w3c_xml.js
+++ b/externs/w3c_xml.js
@@ -288,10 +288,22 @@ XPathNamespace.XPATH_NAMESPACE_NODE = 13;
* server.
*
* @constructor
+ * @implements {EventTarget}
* @see http://www.w3.org/TR/XMLHttpRequest/#xmlhttprequest-o... | add some missing externs declarations,
as pointed out on closure-compiler-discuss
R=pallosp
DELTA=<I> (<I> added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | js |
5ba4000f774b51a206a8a05b208f5c637010d42d | diff --git a/tests/integration/test_requests.py b/tests/integration/test_requests.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_requests.py
+++ b/tests/integration/test_requests.py
@@ -130,3 +130,18 @@ def test_gzip(tmpdir, scheme):
with vcr.use_cassette(str(tmpdir.join('gzip.yaml'))) as cass:
... | Add test: test_session_and_connection_close
This is a test for issue GH-<I>. | kevin1024_vcrpy | train | py |
6c087a0cbc4114ea6d19cb65942652c7467df903 | diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/serializers.py
+++ b/nodeconductor/structure/serializers.py
@@ -1302,7 +1302,7 @@ class BaseResourceSerializer(six.with_metaclass(ResourceSerializerMetaclass,
def... | Add missing article [WAL-<I>] | opennode_waldur-core | train | py |
0d4546c9655f871f1cecd3fb8ce7dc9c6598cc24 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -2516,6 +2516,9 @@ func addrStringToNetAddr(addr string) (net.Addr, error) {
if err != nil {
return nil, err
}
+ if len(ips) == 0 {
+ return nil, fmt.Errorf("no addresses found for %s", host)
+ }
port, err := s... | server: Return error on address lookup fails.
This corrects an issue introduced by commit
e8f<I>bc<I>b<I>ccc2ea<I>f8c<I>ba where a failure to lookup a
hostname could lead to a panic in certain circumstances. An error is
now returned in that case as expected. | btcsuite_btcd | train | go |
e7135ba7a421115f1c7888b216e76d12e037b910 | diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py
index <HASH>..<HASH> 100644
--- a/qiskit/circuit/quantumcircuit.py
+++ b/qiskit/circuit/quantumcircuit.py
@@ -400,10 +400,6 @@ class QuantumCircuit:
return instruction
- def _attach(self, instruction, qargs, cargs):
- ... | Removed deprecated circuit._attach (#<I>)
* Removed circuit._attach
* Linting | Qiskit_qiskit-terra | train | py |
0b95267e48618700ffeec39f20c03d83c7c21fe0 | diff --git a/lib/Pool.js b/lib/Pool.js
index <HASH>..<HASH> 100644
--- a/lib/Pool.js
+++ b/lib/Pool.js
@@ -22,7 +22,13 @@ Pool.prototype.aquire = function()
}
var item = this.freeList.pop();
- this.T.call(item);
+
+ // We can provide explicit initing, otherwise re-call constructor (hackish)
+ if (item.__init... | Can have an explicit __init method | bvalosek_tiny-ecs | train | js,js |
f1f10e148d660e86be098fdb34b65372c2652c89 | diff --git a/lib/fog_tracker/account_tracker.rb b/lib/fog_tracker/account_tracker.rb
index <HASH>..<HASH> 100644
--- a/lib/fog_tracker/account_tracker.rb
+++ b/lib/fog_tracker/account_tracker.rb
@@ -44,8 +44,8 @@ module FogTracker
sleep @delay
end
rescue Exception => e
- ... | Improve Exception reporting in Tracker threads | benton_fog_tracker | train | rb |
aba4747c006d8a901ab180bb9763b919ed557836 | diff --git a/src/script.js b/src/script.js
index <HASH>..<HASH> 100644
--- a/src/script.js
+++ b/src/script.js
@@ -21,27 +21,15 @@ import {tryPromise, isGeneratorFunction, isAbsoluteOrRelative, bind, normalizeCo
import defaultExtensions from './extensions.js';
-let scriptCache = new Map();
let promisifyCache = ne... | src: Remove the scriptCache that was used to cache scripts created through Scriptor.load | novacrazy_scriptor | train | js |
793cc85229725fb08c9c8b87c8789fc9349fe043 | diff --git a/lib/extension.js b/lib/extension.js
index <HASH>..<HASH> 100644
--- a/lib/extension.js
+++ b/lib/extension.js
@@ -49,6 +49,11 @@ function assetRegister(moduleName, type, makeAsset){
}
});
}
+ // If we still haven't found one, set the bundleName as a bundle.
+ if(!bundle) {
+ var bundleName ... | Make bundle finding more forgiving
This makes looking for bundles (bundles are the top-level modules that
import everything else) work with virtual modules such as those
created by plugins (the done-component plugin creates modules with
System.define).
Might fix #1 | donejs_done-ssr | train | js |
19da50cb6e7cc569d7393322d7cd9ad5c89b3d8e | diff --git a/src/main/java/spark/http/matching/ResponseWrapper.java b/src/main/java/spark/http/matching/ResponseWrapper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/spark/http/matching/ResponseWrapper.java
+++ b/src/main/java/spark/http/matching/ResponseWrapper.java
@@ -127,6 +127,11 @@ class ResponseWrapper ex... | added missing delegate implementation in ResponseWrapper | perwendel_spark | train | java |
32a00a9f5d552606160e3848346eb5c0f9a099a2 | diff --git a/Lib/glyphsLib/classes.py b/Lib/glyphsLib/classes.py
index <HASH>..<HASH> 100755
--- a/Lib/glyphsLib/classes.py
+++ b/Lib/glyphsLib/classes.py
@@ -2855,6 +2855,8 @@ class GSAnnotation(GSBase):
def _serialize_to_plist(self, writer):
writer.writeObjectKeyValue(self, "angle", default=0)
... | Write GSAnnotation in G3 style | googlefonts_glyphsLib | train | py |
9f931eba7758bb0c68fca237edb2ea67294f331d | diff --git a/example/ActualUseCases.py b/example/ActualUseCases.py
index <HASH>..<HASH> 100644
--- a/example/ActualUseCases.py
+++ b/example/ActualUseCases.py
@@ -2,7 +2,7 @@ import sys
sys.path.insert(0, '../')
import unittest
-import sinon.sinon as sinon
+import sinon
from TestClass import ForTestOnly
def A_f... | fix CI failed (import) | note35_sinon | train | py |
e8490c0daed79324229e0023c3106ca67813ce18 | diff --git a/flask_unchained/bundles/security/views/user_resource.py b/flask_unchained/bundles/security/views/user_resource.py
index <HASH>..<HASH> 100644
--- a/flask_unchained/bundles/security/views/user_resource.py
+++ b/flask_unchained/bundles/security/views/user_resource.py
@@ -1,9 +1,5 @@
-try:
- from flask_unc... | UserResource depends on the API bundle | briancappello_flask-unchained | train | py |
0f9d04d2297d767fc6044848e6acd7a97fb49c30 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,9 +9,11 @@ setup(
name='django-useraudit',
version='1.0.0',
description='Django user audit utilities like logging user log in, disabling access when password expires or user is inactive',
+ long_descriptio... | Small updates to fields in setup.py | muccg_django-useraudit | train | py |
c91d2e301b28e51a817d5900a3353d48bb6c1bb8 | diff --git a/strategies/swarm.js b/strategies/swarm.js
index <HASH>..<HASH> 100644
--- a/strategies/swarm.js
+++ b/strategies/swarm.js
@@ -502,6 +502,7 @@ const engine = {
deployService (options, cb) {
let payload = utils.cloneObj(require(__dirname + '/../schemas/swarm/service.template.js'));
options.params.var... | Added a new environment variable when deploying service, swarm driver | soajs_soajs.core.drivers | train | js |
d9d99c1c27732b8ebb973b91ce958ebe5022a640 | diff --git a/addons/fit/fit.js b/addons/fit/fit.js
index <HASH>..<HASH> 100644
--- a/addons/fit/fit.js
+++ b/addons/fit/fit.js
@@ -20,7 +20,7 @@
} else {
/*
* Plain browser environment
- */
+ */
fit(this.Xterm);
}
})(function (Xterm) {
@@ -44,22 +44,12 @@
... | fixed width of fit
removed firefox hack since it is no longer needed | xtermjs_xterm.js | train | js |
429f76dfba9cc715b9ec4fa4d7141473525c799d | diff --git a/parler/admin.py b/parler/admin.py
index <HASH>..<HASH> 100644
--- a/parler/admin.py
+++ b/parler/admin.py
@@ -114,12 +114,20 @@ class TranslatableAdmin(admin.ModelAdmin):
The language column which can be included in the ``list_display``.
"""
languages = self.get_available_languag... | Allow customizing the language_column title. | django-parler_django-parler | train | py |
49e5f97986cc31732b39c497e15a878de29592bd | diff --git a/lib/document_mapper/query.rb b/lib/document_mapper/query.rb
index <HASH>..<HASH> 100644
--- a/lib/document_mapper/query.rb
+++ b/lib/document_mapper/query.rb
@@ -43,7 +43,7 @@ module DocumentMapper
def all
result = @model.select(:where => @where, :order_by => @order_by)
if @offset.presen... | Allow offsets higher than the number of documents | ralph_document_mapper | train | rb,rb |
dd47ea20145a27c9dfc7a92aa6eef3fda2500d0e | diff --git a/lib/util/statsd.js b/lib/util/statsd.js
index <HASH>..<HASH> 100644
--- a/lib/util/statsd.js
+++ b/lib/util/statsd.js
@@ -3,7 +3,6 @@ var util = require("util");
var _ = require("lodash");
var SDC = require("statsd-client");
-var enabled = process.env.MAGELLAN_STATSD ? true : false;
// second check fo... | only read from nightwatch.config/globals | TestArmada_nightwatch-extra | train | js |
4f97c909f3aeaa3351da473d12eba461ace0be76 | diff --git a/single_stage_detector/ssd/train.py b/single_stage_detector/ssd/train.py
index <HASH>..<HASH> 100644
--- a/single_stage_detector/ssd/train.py
+++ b/single_stage_detector/ssd/train.py
@@ -43,10 +43,10 @@ def parse_args():
help='path to model checkpoint file')
parser.add_argument... | [SSD] Updated eval schedule to every 5th epoch (#<I>) | mlperf_training | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.