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 |
|---|---|---|---|---|---|
aad09d747941df20c65845b183226f5c15519674 | diff --git a/lib/ronin/formatting/binary/packer.rb b/lib/ronin/formatting/binary/packer.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/formatting/binary/packer.rb
+++ b/lib/ronin/formatting/binary/packer.rb
@@ -185,11 +185,14 @@ module Ronin
)
end
+ # The types
+ attr_reader :types
+... | Expose the types used by the Packer. | ronin-ruby_ronin-support | train | rb |
ed883449659c2c28f933db7b988fdf1471c2d34c | diff --git a/uPortal-soffit-renderer/src/test/java/org/apereo/portal/soffit/renderer/ModelAttributeServiceTest.java b/uPortal-soffit-renderer/src/test/java/org/apereo/portal/soffit/renderer/ModelAttributeServiceTest.java
index <HASH>..<HASH> 100644
--- a/uPortal-soffit-renderer/src/test/java/org/apereo/portal/soffit/re... | UP-<I>: Modest updates from PR feedback | Jasig_uPortal | train | java |
dbd8101ae9236c0af613a1f182ee421e6a838bc8 | diff --git a/src/WellCommerce/Bundle/ShipmentBundle/WellCommerceShipmentBundle.php b/src/WellCommerce/Bundle/ShipmentBundle/WellCommerceShipmentBundle.php
index <HASH>..<HASH> 100755
--- a/src/WellCommerce/Bundle/ShipmentBundle/WellCommerceShipmentBundle.php
+++ b/src/WellCommerce/Bundle/ShipmentBundle/WellCommerceShip... | Added WellCommerceShipmentBundle | WellCommerce_WishlistBundle | train | php |
b9386e7be83bc568e8283087c792e20eb248b82f | diff --git a/handler/src/main/java/io/netty/handler/execution/MemoryAwareThreadPoolExecutor.java b/handler/src/main/java/io/netty/handler/execution/MemoryAwareThreadPoolExecutor.java
index <HASH>..<HASH> 100644
--- a/handler/src/main/java/io/netty/handler/execution/MemoryAwareThreadPoolExecutor.java
+++ b/handler/src/m... | Do not count a ChannelDownstreamEventRunnable
* MATPE is only for upstream events. | netty_netty | train | java |
61874cf25d3f43258531f7b54c50bc1dd04e166f | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100755
--- a/util.go
+++ b/util.go
@@ -30,7 +30,7 @@ var (
// NULL character and is the lowest possible value (in terms of codepoint, which is also
// how redis sorts strings) for an ASCII character.
nullString = string([]byte{byte(0)})
- // hardwareId is a uniq... | Update doc comment about hardwareId | albrow_zoom | train | go |
665e94784ca75257df6fe1455e5cdfc41e8c5e46 | diff --git a/superset/assets/src/explore/controlPanels/PivotTable.js b/superset/assets/src/explore/controlPanels/PivotTable.js
index <HASH>..<HASH> 100644
--- a/superset/assets/src/explore/controlPanels/PivotTable.js
+++ b/superset/assets/src/explore/controlPanels/PivotTable.js
@@ -44,4 +44,12 @@ export default {
... | [fix] Adding time grains to PivotTable (#<I>) | apache_incubator-superset | train | js |
ee2d3b2922b4b4b41db73df1b4985039d0de9e70 | diff --git a/src/test/java/tech/sirwellington/alchemy/generator/ChecksTest.java b/src/test/java/tech/sirwellington/alchemy/generator/ChecksTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/tech/sirwellington/alchemy/generator/ChecksTest.java
+++ b/src/test/java/tech/sirwellington/alchemy/generator/ChecksTest.ja... | Removing superfluous test case | SirWellington_alchemy-generator | train | java |
1292445b25c5acab0aa81ce40b55fd40c072a23b | diff --git a/lib/faalis/engine.rb b/lib/faalis/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/faalis/engine.rb
+++ b/lib/faalis/engine.rb
@@ -24,7 +24,12 @@ require 'cancan'
require 'model_discovery'
require 'angularjs-rails'
require 'lodash-rails'
-require 'gettext_i18n_rails'
+
+# required gettext related gem onl... | a little enhancement on loading gettext related gems | Yellowen_Faalis | train | rb |
405d746d0cd8cfc7b272a00773e36056b035aca8 | diff --git a/lib/synapse/service_watcher/zookeeper.rb b/lib/synapse/service_watcher/zookeeper.rb
index <HASH>..<HASH> 100644
--- a/lib/synapse/service_watcher/zookeeper.rb
+++ b/lib/synapse/service_watcher/zookeeper.rb
@@ -127,7 +127,12 @@ class Synapse::ServiceWatcher
new_backends = []
@zk.children(@di... | Fix the race condition in the Zookeeper watcher | airbnb_synapse | train | rb |
cc0236fabdc2cb5e290c4a02861a30078bf325c3 | diff --git a/src/accounts/search_indexes.py b/src/accounts/search_indexes.py
index <HASH>..<HASH> 100644
--- a/src/accounts/search_indexes.py
+++ b/src/accounts/search_indexes.py
@@ -47,16 +47,11 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
def prepare(self, obj):
prepared_data = super(User... | Removing a few variables on accounts search_indexes | colab_colab | train | py |
b53d5d147e6673072cb8e09d4d94fcc6e9e96b8b | diff --git a/bashplotlib/histogram.py b/bashplotlib/histogram.py
index <HASH>..<HASH> 100644
--- a/bashplotlib/histogram.py
+++ b/bashplotlib/histogram.py
@@ -165,7 +165,7 @@ def plot_hist(f, height=20.0, bincount=None, binwidth=None, pch="o", colour="def
else:
printcolour(" ", True, colou... | Short fix to make x-labels align correctly with the buckets | glamp_bashplotlib | train | py |
0ff360c128858a6be6b80fc094d8a45fd9c11297 | diff --git a/graphene_gae/ndb/fields.py b/graphene_gae/ndb/fields.py
index <HASH>..<HASH> 100644
--- a/graphene_gae/ndb/fields.py
+++ b/graphene_gae/ndb/fields.py
@@ -150,30 +150,6 @@ class NdbKeyField(FieldType):
key = getattr(entity, self.name)
if isinstance(key, list):
- return self.__... | Removd unecessary NdbKeyField fetching optimization
There are better ways to do caching and pre-fetching in GraphQL than this (ugly) hack… | graphql-python_graphene-gae | train | py |
3d014bde203e9ee3e644fdb8b78629c23e18b7ab | diff --git a/app/deploy.go b/app/deploy.go
index <HASH>..<HASH> 100644
--- a/app/deploy.go
+++ b/app/deploy.go
@@ -55,6 +55,7 @@ type DeployData struct {
CanRollback bool
RemoveDate time.Time `bson:",omitempty"`
Diff string
+ Message string
}
func findValidImages(apps ...App) (set.Set, error) {
@@... | Adding Message field to DeployData/DeployInfo, otherwise this field isnt really useful as a deployment info besides being at event information | tsuru_tsuru | train | go |
e84871cbbf583a1e17bec63e2f015c1d69f83a9e | diff --git a/lib/AbstractObject.php b/lib/AbstractObject.php
index <HASH>..<HASH> 100644
--- a/lib/AbstractObject.php
+++ b/lib/AbstractObject.php
@@ -24,7 +24,32 @@ abstract class AbstractObject
/** Reference to the current controller. Read only. Use setController() */
public $controller;
- /** Exceptio... | Document abstract object's exception() approach in more details. | atk4_atk4 | train | php |
bf29e3b34769e9d275894b6e069a89a93abb079b | diff --git a/webpack/react_app/components/FeaturesDropdown/index.js b/webpack/react_app/components/FeaturesDropdown/index.js
index <HASH>..<HASH> 100644
--- a/webpack/react_app/components/FeaturesDropdown/index.js
+++ b/webpack/react_app/components/FeaturesDropdown/index.js
@@ -23,6 +23,7 @@ const FeaturesDropdown = ({... | Refs #<I> - fix the 'scedule a job' button in new host | theforeman_foreman_remote_execution | train | js |
5c07033847d1d98e2664a28df7132ce069f33fcc | diff --git a/cucumber-messages/ruby/lib/cucumber/messages.rb b/cucumber-messages/ruby/lib/cucumber/messages.rb
index <HASH>..<HASH> 100644
--- a/cucumber-messages/ruby/lib/cucumber/messages.rb
+++ b/cucumber-messages/ruby/lib/cucumber/messages.rb
@@ -1,3 +1,7 @@
+module Cucumber
+ module Messages
+ end
+end
require ... | Fix cucumber-messages for Ruby | cucumber_cucumber | train | rb |
820863aec082484f2963f4a1b11b5a8f4c67813f | diff --git a/indra/sources/biopax/api.py b/indra/sources/biopax/api.py
index <HASH>..<HASH> 100644
--- a/indra/sources/biopax/api.py
+++ b/indra/sources/biopax/api.py
@@ -1,7 +1,6 @@
from __future__ import absolute_import, print_function, unicode_literals
from builtins import dict, str
import itertools
-from indra.j... | Add function to process owl string. | sorgerlab_indra | train | py |
7ce3e2f0159ac266277c245ced1f246786352035 | diff --git a/lib/solargraph/source/fragment.rb b/lib/solargraph/source/fragment.rb
index <HASH>..<HASH> 100644
--- a/lib/solargraph/source/fragment.rb
+++ b/lib/solargraph/source/fragment.rb
@@ -269,8 +269,8 @@ module Solargraph
end
if signature.start_with?('.')
# @todo Smelly exceptional c... | Fragment signatures handle chains from literal arrays. | castwide_solargraph | train | rb |
cc3038a3ff3490676921d5f3794147992b8f4d69 | diff --git a/src/cli-options.js b/src/cli-options.js
index <HASH>..<HASH> 100644
--- a/src/cli-options.js
+++ b/src/cli-options.js
@@ -63,7 +63,7 @@ var program = optimist
})
.option('keep', {
boolean: true,
- default: false,
+ default: true,
alias: 'k',
description: 'keep tested version if it is working'
... | major(keep): set option keep = true by default, close #<I> | bahmutov_next-update | train | js |
7be2304d30477cdb09cd0027db6e932d3a05860e | diff --git a/shared/login/signup/username-email-form.js b/shared/login/signup/username-email-form.js
index <HASH>..<HASH> 100644
--- a/shared/login/signup/username-email-form.js
+++ b/shared/login/signup/username-email-form.js
@@ -42,8 +42,8 @@ class UsernameEmailForm extends Component {
// $FlowIssue type this connec... | apply Error -> string transformation in the container, not the store | keybase_client | train | js |
b43bd2dd749c087b28ceba9505f793d3713887d9 | diff --git a/src/ui/ToolTip.js b/src/ui/ToolTip.js
index <HASH>..<HASH> 100644
--- a/src/ui/ToolTip.js
+++ b/src/ui/ToolTip.js
@@ -86,13 +86,14 @@ class ToolTip extends UIComponent {
buildOn() {
const dom = createEl('div');
+ const options = this.options || {};
if (options.height) {
... | fix tooltip cannot set width and height | maptalks_maptalks.js | train | js |
8a1b14b938da71d8d8b10e9b34e6ee789158cea6 | diff --git a/symphony/lib/core/class.symphony.php b/symphony/lib/core/class.symphony.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/core/class.symphony.php
+++ b/symphony/lib/core/class.symphony.php
@@ -288,7 +288,7 @@ abstract class Symphony implements Singleton
* When set to true, this function will always... | Fix code format
Picked from <I>fbb<I>d2
Picked from 8ab1c<I>eb9 | symphonycms_symphony-2 | train | php |
dcc480817b6ac5c2dea317c300c8df84eaf80d1c | diff --git a/src/BoomCMS/ServiceProviders/InstallerServiceProvider.php b/src/BoomCMS/ServiceProviders/InstallerServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/BoomCMS/ServiceProviders/InstallerServiceProvider.php
+++ b/src/BoomCMS/ServiceProviders/InstallerServiceProvider.php
@@ -33,7 +33,7 @@ class Installer... | Fixed order of arguments to create person command | boomcms_boom-installer | train | php |
96931548fc9aaea35d9381dbcc77bd918aa9e7b3 | diff --git a/lib/throttled-map-concurrent-all.js.js b/lib/throttled-map-concurrent-all.js.js
index <HASH>..<HASH> 100644
--- a/lib/throttled-map-concurrent-all.js.js
+++ b/lib/throttled-map-concurrent-all.js.js
@@ -5,7 +5,7 @@ module.exports = {
if(typeof (numWorkers) === 'function') {
callback ... | Update throttled-map-concurrent-all.js.js | GannettDigital_palinode | train | js |
bb31492e4e78856d2830284bfda6bed39c779e62 | diff --git a/tests/StaticArrayyTest.php b/tests/StaticArrayyTest.php
index <HASH>..<HASH> 100644
--- a/tests/StaticArrayyTest.php
+++ b/tests/StaticArrayyTest.php
@@ -14,6 +14,7 @@ class StaticArrayyTest extends PHPUnit_Framework_TestCase
{
/** @noinspection PhpUndefinedMethodInspection */
/** @noinspectio... | [+]: ignore some warnings from PhpStorm ... v2 | voku_Arrayy | train | php |
7eb0fb2b4b845acef6586842b1b7631de6c5df96 | diff --git a/lib/actv/version.rb b/lib/actv/version.rb
index <HASH>..<HASH> 100644
--- a/lib/actv/version.rb
+++ b/lib/actv/version.rb
@@ -1,3 +1,3 @@
module ACTV
- VERSION = "1.3.4"
+ VERSION = "1.3.6"
end | Version bump (assumes that remove_production_check branch merged first) | activenetwork_actv | train | rb |
715e1af7d1de6b7b2ebfb34370dd8339930494e2 | diff --git a/lib/faraday/adapter/em_synchrony.rb b/lib/faraday/adapter/em_synchrony.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/adapter/em_synchrony.rb
+++ b/lib/faraday/adapter/em_synchrony.rb
@@ -52,6 +52,8 @@ module Faraday
client = block.call
end
+ raise client.error if clien... | don't swallow exceptions in em-synchrony | lostisland_faraday | train | rb |
700a72c749dcbb6b5c9f39ebb1164a4487319217 | diff --git a/sample/cute/core/src/forplay/sample/cute/core/CuteGame.java b/sample/cute/core/src/forplay/sample/cute/core/CuteGame.java
index <HASH>..<HASH> 100644
--- a/sample/cute/core/src/forplay/sample/cute/core/CuteGame.java
+++ b/sample/cute/core/src/forplay/sample/cute/core/CuteGame.java
@@ -116,31 +116,21 @@ pub... | Update CuteGame for updated Pointer API | threerings_playn | train | java |
94c973be56e559f37a68e406d4d217fd5cea2fa5 | diff --git a/lib/unparser/emitter/resbody.rb b/lib/unparser/emitter/resbody.rb
index <HASH>..<HASH> 100644
--- a/lib/unparser/emitter/resbody.rb
+++ b/lib/unparser/emitter/resbody.rb
@@ -9,6 +9,8 @@ module Unparser
class Standalone < self
+ handle :resbody
+
private
# Perform dispatc... | Add back handler for resbody for mutant identity guards
* Closes #<I> | mbj_unparser | train | rb |
7797742e4ac01d071f9e7fb67271c88f1ecb610c | diff --git a/src/caniuse-parser.js b/src/caniuse-parser.js
index <HASH>..<HASH> 100644
--- a/src/caniuse-parser.js
+++ b/src/caniuse-parser.js
@@ -211,11 +211,11 @@ function handleDataFeed(entries) {
var isMobile = entry[4] == "Yes";
var pageviews = +entry[5];
- if (os == "iOS" || os == "iPad" || os == "... | Move Opera Mobile conditional up just in case | browserslist_browserslist-ga | train | js |
f2b3588d03ca8c810222073d63e1a446d8efca61 | diff --git a/bin/static/config/servers/DEFAULT/03_mqtt_socketService.js b/bin/static/config/servers/DEFAULT/03_mqtt_socketService.js
index <HASH>..<HASH> 100644
--- a/bin/static/config/servers/DEFAULT/03_mqtt_socketService.js
+++ b/bin/static/config/servers/DEFAULT/03_mqtt_socketService.js
@@ -53,8 +53,8 @@ module.expo... | perhaps error is also a reason to refuse connection | SciSpike_yaktor | train | js |
b0e21f36347991851b0b9e9403df269a6a2da984 | diff --git a/chess/pgn.py b/chess/pgn.py
index <HASH>..<HASH> 100644
--- a/chess/pgn.py
+++ b/chess/pgn.py
@@ -530,7 +530,7 @@ class GameModelCreator(BaseVisitor):
self.in_variation = True
def handle_error(self, error):
- logging.exception("error during pgn parsing")
+ LOGGER.exception("er... | Do not directly use logging, use a logger | niklasf_python-chess | train | py |
2cd857dd3668a6767100e91223cdffbf3807940f | diff --git a/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/InventoryVector.java b/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/InventoryVector.java
index <HASH>..<HASH> 100644
--- a/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/InventoryVector.java
+++ b/domain/src/main/jav... | If we compare IVs, they of course must properly implement the equals method
This fixes the bug where we would request objects again that were already stored. | Dissem_Jabit | train | java |
0f5b53f43fd39c765dbbc0d980f550ca7a57d1bf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,5 +61,6 @@ setup(
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
+ requires=['six'],
tags=['BASIC', 'zxspectrum', 'compiler', 'z80']
) | Add six module
Needed for python2/3 compatibility | boriel_zxbasic | train | py |
36726bdeb6dcbed92648996e07030e70248a63e4 | diff --git a/src/plugins/SoftwareGenerator/templates/forEach/MetaTemplates.js b/src/plugins/SoftwareGenerator/templates/forEach/MetaTemplates.js
index <HASH>..<HASH> 100644
--- a/src/plugins/SoftwareGenerator/templates/forEach/MetaTemplates.js
+++ b/src/plugins/SoftwareGenerator/templates/forEach/MetaTemplates.js
@@ -1... | minor fix to reorganization of bower. | finger563_webgme-hfsm | train | js,js |
201f49ab0d988d9e7d6527bb397e2cf98f48b8a7 | diff --git a/src/MessageParser.php b/src/MessageParser.php
index <HASH>..<HASH> 100644
--- a/src/MessageParser.php
+++ b/src/MessageParser.php
@@ -298,8 +298,9 @@ class MessageParser
$this->readHeaders($handle, $message);
$contentType = $part->getHeaderValue('Content-Type');
$mimeVersion = $p... | Simplify condition in MessageParser::read | zbateson_mail-mime-parser | train | php |
4bea7248cd31ff74d0ce8aa5f57141f9b2e85cd0 | diff --git a/src/python/pants/backend/python/target_types.py b/src/python/pants/backend/python/target_types.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/python/target_types.py
+++ b/src/python/pants/backend/python/target_types.py
@@ -204,7 +204,7 @@ class PexEntryPointField(AsyncFieldMixin, SecondaryOw... | Fix a markdown issue in a help string. (#<I>)
This rendered as an unknown HTML tag instead of a literal string.
After this change, it renders as desired.
[ci skip-rust]
[ci skip-build-wheels] | pantsbuild_pants | train | py |
d949515d518f99e7bded459649ac96e9e3ea715c | diff --git a/tests/test_tungsten.py b/tests/test_tungsten.py
index <HASH>..<HASH> 100644
--- a/tests/test_tungsten.py
+++ b/tests/test_tungsten.py
@@ -32,15 +32,15 @@ class TungstenTestSuite(unittest.TestCase):
if __name__ == '__main__':
# Get appid from command line
- parser = argparse.ArgumentParser(descri... | Fixed test_tungsten.py method of accessing appid from command line | seenaburns_Tungsten | train | py |
4039b26b2e9ebd573bc37006ac44b315c1f0cda1 | diff --git a/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcSensor.java b/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcSensor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcSensor.java
+++ b/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcSenso... | SONARGROOV-<I> Added TODO | pmayweg_sonar-groovy | train | java |
a4853e35609a40d26d423ac680d527b4608156e5 | diff --git a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
+++ b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
@@ -948,6 +948,7 @@ abstract class AbstractPlatform
if(s... | Adding the option of unsigned field. | doctrine_dbal | train | php |
ea869e7c931c565b83262fc83361153bfec1c3ef | diff --git a/Tone/instrument/Sampler.js b/Tone/instrument/Sampler.js
index <HASH>..<HASH> 100644
--- a/Tone/instrument/Sampler.js
+++ b/Tone/instrument/Sampler.js
@@ -17,6 +17,7 @@ define(["Tone/core/Tone", "Tone/instrument/Instrument", "Tone/core/Buffers", "To
* //sampler will repitch the closest sample
* samp... | updating jsdoc comment to reflect that class extends Tone.Instrument | Tonejs_Tone.js | train | js |
f4d24ff5c3de63cf9a141844a5f8bb2c0e8ce7e4 | diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/lib.php
+++ b/mod/quiz/lib.php
@@ -266,6 +266,7 @@ function quiz_update_grades($quiz=null, $userid=0, $nullifnone=true) {
}
if ($quiz != null) {
+ quiz_grade_item_update($quiz); // Recreate it if necessary
... | Updating grades will update the grade_item too | moodle_moodle | train | php |
7802651ca9927f73a8d5ffdcc1cab8ddadd8ac14 | diff --git a/class.form.php b/class.form.php
index <HASH>..<HASH> 100644
--- a/class.form.php
+++ b/class.form.php
@@ -1360,6 +1360,7 @@ class form extends pfbc {
}
elseif($eleType == "checkbox") {
if(is_array($ele->options)) {
+ $optionSize = sizeof($ele->options);
if($optionSize > 1 && s... | Corrected several php notices in the ajax.php example file included with
the project download.
git-svn-id: <URL> | lkorth_php-form-builder-class | train | php |
39839825e312d302a83a69da5eec27b70db24f1e | diff --git a/bin/view.py b/bin/view.py
index <HASH>..<HASH> 100755
--- a/bin/view.py
+++ b/bin/view.py
@@ -233,7 +233,8 @@ def main(list_ids, model, contact_server, raw_data_id, show_raw):
if contact_server:
data = _fetch_data_from_server(raw_data_id)
print("hwrt version: %s" % hwrt._... | bin/view.py: Don't display data if it is not available | MartinThoma_hwrt | train | py |
af154c75777b55b7fe1b0a0d88151af24e3aa4c5 | diff --git a/lib/grim/pdf.rb b/lib/grim/pdf.rb
index <HASH>..<HASH> 100644
--- a/lib/grim/pdf.rb
+++ b/lib/grim/pdf.rb
@@ -29,8 +29,7 @@ module Grim
#
def count
@count ||= begin
- result = SafeShell.execute("gs", "-dNODISPLAY", "-q", "-sFile=#{@path}", "./lib/pdf_info.ps")
-
+ result = Sa... | Use relative file path to get pdf_info.ps | jonmagic_grim | train | rb |
43ba563a1c409402ba9ac0afbe68d227341b37a5 | diff --git a/pkg/api/pluginproxy/pluginproxy.go b/pkg/api/pluginproxy/pluginproxy.go
index <HASH>..<HASH> 100644
--- a/pkg/api/pluginproxy/pluginproxy.go
+++ b/pkg/api/pluginproxy/pluginproxy.go
@@ -88,7 +88,7 @@ func NewApiPluginProxy(ctx *middleware.Context, proxyPath string, route *plugins
}
for key, value... | fix(logging): change log level to trace for plugin proxy logging call, fixes #<I> | grafana_grafana | train | go |
55000e4b1ab1db58ac9b05c28aada0528bfec95f | diff --git a/resource_aws_cloudwatch_log_group.go b/resource_aws_cloudwatch_log_group.go
index <HASH>..<HASH> 100644
--- a/resource_aws_cloudwatch_log_group.go
+++ b/resource_aws_cloudwatch_log_group.go
@@ -91,11 +91,13 @@ func resourceAwsCloudWatchLogGroupRead(d *schema.ResourceData, meta interface{})
d.Set("retent... | Skip tag operations on cloudwatch logs in govcloud partition. | terraform-providers_terraform-provider-aws | train | go |
832aab6e76a984289cb9679d65d806b7571aeff7 | diff --git a/para-server/src/main/java/com/erudika/para/aop/SearchQueryAspect.java b/para-server/src/main/java/com/erudika/para/aop/SearchQueryAspect.java
index <HASH>..<HASH> 100644
--- a/para-server/src/main/java/com/erudika/para/aop/SearchQueryAspect.java
+++ b/para-server/src/main/java/com/erudika/para/aop/SearchQu... | fixed wrong method timed in SearchQueryAspect | Erudika_para | train | java |
3742511dd60b684b16503b86932f057df338f7e3 | diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/board/board.py
+++ b/ELiDE/ELiDE/board/board.py
@@ -291,12 +291,10 @@ class Board(RelativeLayout):
candidate.reciprocal.selected = True
candidate.selected ... | Handle switching selection between reciprocal nonmirror arrows correctly again | LogicalDash_LiSE | train | py |
073ee36246769cf536d0b88e5ab9dd72f4225d02 | diff --git a/src/com/google/javascript/rhino/testing/TestErrorReporter.java b/src/com/google/javascript/rhino/testing/TestErrorReporter.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/rhino/testing/TestErrorReporter.java
+++ b/src/com/google/javascript/rhino/testing/TestErrorReporter.java
@@ -42,7 +42,... | Fix TestErrorReporter to no longer give misleading assertion failures.
Currently when a warning is expected but not produced,
it fails with "Not true that [my expected warning] has length 0" which is very confusing.
This changes it to fail with "missing warnings: [my expected warning]".
-------------
Created by MOE: ... | google_closure-compiler | train | java |
85bf064a38420a959e689c4a2249326d67ea4283 | diff --git a/src/mui/layout/Menu.js b/src/mui/layout/Menu.js
index <HASH>..<HASH> 100644
--- a/src/mui/layout/Menu.js
+++ b/src/mui/layout/Menu.js
@@ -7,9 +7,17 @@ import { Link } from 'react-router';
const Menu = ({ resources }) => (
<Paper style={{ flex: '0 0 15em', order: -1 }}>
<List>
- {r... | Hide resources in the Menu when they don't have a list view | marmelab_react-admin | train | js |
977616458c0c4d77dd28470b05ced59730092557 | diff --git a/Mail/smtp.php b/Mail/smtp.php
index <HASH>..<HASH> 100644
--- a/Mail/smtp.php
+++ b/Mail/smtp.php
@@ -305,7 +305,7 @@ class Mail_smtp extends Mail {
$res = $this->_smtp->data($body, $textHeaders);
list(,$args) = $this->_smtp->getResponse();
- if (preg_match("/Ok: queued as (.*)/", $args, $qu... | Fixed : Server response is "Message" and not "Ok:" | pear_Mail | train | php |
3644b28fe9cd25fdea46a0767d5794a3e4e37f36 | diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py
index <HASH>..<HASH> 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -360,11 +360,11 @@ class Configuration(object):
)
option_parser.add_option(
'--exclude-path', d... | Clarify doc for --exclude-path
as suggested in <URL> | matomo-org_matomo | train | py |
69410655bfd40e851f79c262487337330aeb5a46 | diff --git a/dublincore.py b/dublincore.py
index <HASH>..<HASH> 100644
--- a/dublincore.py
+++ b/dublincore.py
@@ -85,7 +85,7 @@ def dc_description(mydoc, parent, artmeta):
'short', 'executive-summary']
for type in type_hierarchy:
try:
- abstract_node = artmeta.abstract[t... | Slight bug fix in dc:description | SavinaRoja_OpenAccess_EPUB | train | py |
3e7dbdcca41a46456147fef8dfe7c7ffc303a46a | diff --git a/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py b/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py
index <HASH>..<HASH> 100644
--- a/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py
+++ b/HARK/ConsumptionSaving/tests/test_ConsMarkovModel.py
@@ -89,5 +89,4 @@ class test_ConsMarkovSolver(unittes... | Remove timeFwd reference in Markov test | econ-ark_HARK | train | py |
46e13a70cc167d37dacc213cc4c17794f79f17a9 | diff --git a/test/test_lock.rb b/test/test_lock.rb
index <HASH>..<HASH> 100644
--- a/test/test_lock.rb
+++ b/test/test_lock.rb
@@ -52,5 +52,21 @@ module RestoreBundledWith
end
end
end
+
+ sub_test_case '#==' do
+ test 'compare different lock file' do
+ v19 = File.read('./test/fixture... | test(lock): compare lock files | packsaddle_ruby-restore_bundled_with | train | rb |
29fcc3f4a5f028294e67779e2669bf67faedd6f6 | diff --git a/django_nopassword/urls.py b/django_nopassword/urls.py
index <HASH>..<HASH> 100644
--- a/django_nopassword/urls.py
+++ b/django_nopassword/urls.py
@@ -2,7 +2,7 @@
from django.conf.urls import patterns, url
urlpatterns = patterns('',
- url(r'^login/$', 'django_nopassword.views.login'),
+ url(r'^log... | fix #7, fix redirect problem in logout | relekang_django-nopassword | train | py |
c6d592ab4cc4f9c8aba8778621774d2c9658e160 | diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -11,3 +11,9 @@ def test_is_repo_url():
assert is_repo_url('/audreyr/cookiecutter.git') is False
assert is_repo_url('/home/audreyr/cookiecutter') is False
+
+ appveyor_temp... | Add a test for an appveyor path (see #<I>) | audreyr_cookiecutter | train | py |
d9b5ab7a9aa0d752359eca15f4c12e24219a025f | diff --git a/spillway/query.py b/spillway/query.py
index <HASH>..<HASH> 100644
--- a/spillway/query.py
+++ b/spillway/query.py
@@ -45,16 +45,20 @@ class GeoQuerySet(query.GeoQuerySet):
Keyword args:
srid -- EPSG id for for transforming the output geometry.
"""
- if not srid:
+ i... | Add spatialite support for extent() | bkg_django-spillway | train | py |
c9c850250289832a172d2c7c24a1be93209821b0 | diff --git a/environs/jujutest/livetests.go b/environs/jujutest/livetests.go
index <HASH>..<HASH> 100644
--- a/environs/jujutest/livetests.go
+++ b/environs/jujutest/livetests.go
@@ -205,12 +205,13 @@ func (t *LiveTests) checkUpgradeMachineAgent(c *C, m *state.Machine) {
c.Assert(gotTools.Binary, Equals, version.Curr... | environs/jujutest: use new PutTools interface | juju_juju | train | go |
0554454b11f04e225613a13bcc65f8eac0f4f4ac | diff --git a/local-links.js b/local-links.js
index <HASH>..<HASH> 100644
--- a/local-links.js
+++ b/local-links.js
@@ -50,12 +50,12 @@ function isLocal(event, anchor, lookForHash) {
var aHash = anchor.hash || (anchor.href.indexOf('#') > -1 ? '#' + anchor.href.split('#')[1] : null);
var inPageHash;
- // W... | check for <I> and <I> in default port | lukekarrys_local-links | train | js |
625b40d44b4e2f2efa16b17070f9322252926d57 | diff --git a/Entity/EmailTranslation.php b/Entity/EmailTranslation.php
index <HASH>..<HASH> 100644
--- a/Entity/EmailTranslation.php
+++ b/Entity/EmailTranslation.php
@@ -10,7 +10,7 @@ use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @ORM\Table(name="lexik_email_translation")
- * @ORM\Has... | Fix annotation capitalisation
This was causing the following error:
[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@Doctrine\ORM\Mapping\HasLif... | lexik_LexikMailerBundle | train | php |
b78e9e82cd9614fbe137c01bde9439c4e16ca323 | diff --git a/src/Httpful/Request.php b/src/Httpful/Request.php
index <HASH>..<HASH> 100644
--- a/src/Httpful/Request.php
+++ b/src/Httpful/Request.php
@@ -685,9 +685,6 @@ class Request
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- $headers[] = !empty($this->expected_type) ?
- "Accept:... | Complete Acceptable test header.
If you can coneg against this Accept: header you can mark your implementation passed.
Contains all the legal LWS.
Preferable mime types are listed in reverse order, expected mime-type is added to the end.
The order the server should sort these in are as follows
1 expected/type
<I> tex... | nategood_httpful | train | php |
96829835266e3d3040e669ba8bd7a3295411b222 | diff --git a/src/java/com/threerings/presents/server/PresentsServer.java b/src/java/com/threerings/presents/server/PresentsServer.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/presents/server/PresentsServer.java
+++ b/src/java/com/threerings/presents/server/PresentsServer.java
@@ -259,17 +259,21 @@ pub... | We can't rely on the connection manager not being shutdown to determine
whether or not we're already shutdown as it may have shutdown
unexpectedly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
7a131d78e9a2a0875725562897834d9f28938acf | diff --git a/pysra/propagation.py b/pysra/propagation.py
index <HASH>..<HASH> 100755
--- a/pysra/propagation.py
+++ b/pysra/propagation.py
@@ -244,7 +244,7 @@ class QuarterWaveLenCalculator(AbstractCalculator):
for l, t, s in zip(self.profile, thickness, slowness)
], self.profile.wt_depth)
... | Fixed qwl optimization to update profile at end. | arkottke_pysra | train | py |
b270960fae72eb4ccd9ca0a18eb07a4bf32d0ff6 | diff --git a/ModelBundle/Repository/SiteRepository.php b/ModelBundle/Repository/SiteRepository.php
index <HASH>..<HASH> 100644
--- a/ModelBundle/Repository/SiteRepository.php
+++ b/ModelBundle/Repository/SiteRepository.php
@@ -24,6 +24,22 @@ class SiteRepository extends AbstractAggregateRepository implements SiteReposi... | add media share site (#<I>)
* add media share site
* fix find sites ids | open-orchestra_open-orchestra-model-bundle | train | php |
8e35086cd6d72a1332a2c11863368a038c986c45 | diff --git a/NfcManager.js b/NfcManager.js
index <HASH>..<HASH> 100644
--- a/NfcManager.js
+++ b/NfcManager.js
@@ -149,6 +149,10 @@ class NfcManager {
}
_handleSessionClosed = () => {
+ if (this._subscription) {
+ this._subscription.remove();
+ this._subscription = null;
+ }
this._clien... | (ios) clear subscription when session closed | whitedogg13_react-native-nfc-manager | train | js |
85cf9d62ade58d1bfe91a89fcce9aceec0fd77fe | diff --git a/guild.go b/guild.go
index <HASH>..<HASH> 100644
--- a/guild.go
+++ b/guild.go
@@ -5,7 +5,6 @@ type Guild struct {
Name string `json:"name"`
Icon string `json:"icon"`
Region string `json:"region"`
- JoinedAt string `json:"joined_at"` // make ti... | Removed duplicated JoinedAt.. | bwmarrin_discordgo | train | go |
b0de7b484a389c8de75d493fc83a49e34b8e4c67 | diff --git a/src/Menu.php b/src/Menu.php
index <HASH>..<HASH> 100644
--- a/src/Menu.php
+++ b/src/Menu.php
@@ -449,8 +449,8 @@ class Menu extends Component implements ArrayAccess, QueryOperatorFieldInterface
* Wrapper method to get all menu items for the current language without hidden items for
* the speci... | fixed api links in phpdoc | luyadev_luya-module-cms | train | php |
31d6d62c52c85fdc9ac0d4bfed1bb50e7de37328 | diff --git a/lib/statistics.rb b/lib/statistics.rb
index <HASH>..<HASH> 100644
--- a/lib/statistics.rb
+++ b/lib/statistics.rb
@@ -60,7 +60,7 @@ module Statistics
if value
sql = ((@filter_all_on || {}).merge(scoped_options[:filter_on] || {}))[key].gsub("?", "'#{value}'")
sql =... | santize_sql_for_conditions should be called on a subclass of ActiveRecord::Base | acatighera_statistics | train | rb |
0243549db4d237cb78e720d55a9cae89b91f6830 | diff --git a/lib/rules/camelcase.js b/lib/rules/camelcase.js
index <HASH>..<HASH> 100644
--- a/lib/rules/camelcase.js
+++ b/lib/rules/camelcase.js
@@ -186,7 +186,7 @@ module.exports = {
const assignmentKeyEqualsValue = node.parent.key.name === node.parent.value.name;
- ... | Fix: camelcase false positive with computed property (fixes #<I>) (#<I>) | eslint_eslint | train | js,js |
7acaffe33f2aaa1e06ac68bcdf06d9b0adc59912 | diff --git a/lib/stupidedi/versions/functional_groups/002001/element_defs.rb b/lib/stupidedi/versions/functional_groups/002001/element_defs.rb
index <HASH>..<HASH> 100644
--- a/lib/stupidedi/versions/functional_groups/002001/element_defs.rb
+++ b/lib/stupidedi/versions/functional_groups/002001/element_defs.rb
@@ -5661,... | Adjust size of element E<I> per envelope instructions for <I> | irobayna_stupidedi | train | rb |
1bec02f44b59d0f71196060231d22006909c7487 | diff --git a/src/sources/mvt.js b/src/sources/mvt.js
index <HASH>..<HASH> 100644
--- a/src/sources/mvt.js
+++ b/src/sources/mvt.js
@@ -21,6 +21,12 @@ export class MVTSource extends NetworkTileSource {
var buffer = new Pbf(data);
source.data = new VectorTile(buffer);
source.layers = this.toGeo... | data sources: call optional `transform` function for MVT sources
NB: feature properties can be modified, but geometry is already mercator projected and scaled to local tile coordinates | tangrams_tangram | train | js |
6c3ccf4d14d7a85290882ad461fe0d1999b2b2f7 | diff --git a/src/main/java/graphql/language/OperationDefinition.java b/src/main/java/graphql/language/OperationDefinition.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/language/OperationDefinition.java
+++ b/src/main/java/graphql/language/OperationDefinition.java
@@ -10,7 +10,7 @@ import java.util.Map;
... | operation definition is a SelectionSetContainer | graphql-java_graphql-java | train | java |
8991ceb209884f72beba0ab8b166a258c0af3e1d | diff --git a/lib/utils/yamlAstParser.js b/lib/utils/yamlAstParser.js
index <HASH>..<HASH> 100644
--- a/lib/utils/yamlAstParser.js
+++ b/lib/utils/yamlAstParser.js
@@ -107,7 +107,7 @@ const addNewArrayItem = (ymlFile, pathInYml, newValue) =>
}
currentNode[arrayPropertyName] = _.union(arrayProperty, [newValue])... | refactor: Replace `_.head` with `array[0]` (#<I>) | serverless_serverless | train | js |
1fdd95131480c8619addc3c564713506a41c171c | diff --git a/animal/admin.py b/animal/admin.py
index <HASH>..<HASH> 100644
--- a/animal/admin.py
+++ b/animal/admin.py
@@ -18,7 +18,7 @@ class AnimalAdmin(admin.ModelAdmin):
}),
)
raw_id_fields = ("Breeding",)
- list_display = ('MouseID', 'Rack', 'Rack_Position', 'Cage', 'CageID', 'Markings','Gender', 'Genotype'... | removed CageID from admin list filter | davebridges_mousedb | train | py |
503ac4129eaebfd44ee564a093063cbb4b16ecd4 | diff --git a/src/Enhavo/Bundle/AppBundle/Controller/ResourceController.php b/src/Enhavo/Bundle/AppBundle/Controller/ResourceController.php
index <HASH>..<HASH> 100644
--- a/src/Enhavo/Bundle/AppBundle/Controller/ResourceController.php
+++ b/src/Enhavo/Bundle/AppBundle/Controller/ResourceController.php
@@ -225,7 +225,13... | Fixed redirect and list update after duplicate action | enhavo_enhavo | train | php |
9eaeeb235ffefcac798798284ce30ca99d283423 | diff --git a/serve.go b/serve.go
index <HASH>..<HASH> 100644
--- a/serve.go
+++ b/serve.go
@@ -20,6 +20,7 @@ func Serve(c *cli.Context) {
cache := cache.New(c.Duration("cache"), 30*time.Second)
health := healthHandler{
+ c: c,
gossConfig: getGossConfig(c),
sys: system.New(c),
ou... | Reset cache between `goss serve` runs (#<I>) | aelsabbahy_goss | train | go |
f77c05b31e7800b82589028aff62188e69a8b535 | diff --git a/dataviews/dataviews.py b/dataviews/dataviews.py
index <HASH>..<HASH> 100644
--- a/dataviews/dataviews.py
+++ b/dataviews/dataviews.py
@@ -582,7 +582,7 @@ class TableStack(Stack):
stacks[str(label)][new_key] = Curve(zip(xvalues, yvalues), **settings)
# If there are multiple table... | Fixed collate for Python 3 compatibility | pyviz_holoviews | train | py |
8f73f6688d6b783983fbafe931a1d2a3ec3e9939 | diff --git a/eventsourcing/domain.py b/eventsourcing/domain.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/domain.py
+++ b/eventsourcing/domain.py
@@ -417,7 +417,7 @@ def event(
return create_command_method_decorator
else:
- if hasattr(arg, "__name__"):
+ if isinstance(arg, (staticmeth... | Fixed test for Python < <I> (static and class method). | johnbywater_eventsourcing | train | py |
3707c4710a06b9cb0f970da7879e486dd0e6af6f | diff --git a/email.go b/email.go
index <HASH>..<HASH> 100644
--- a/email.go
+++ b/email.go
@@ -160,7 +160,19 @@ func (e *Email) Send(addr string, a smtp.Auth) error {
//writeMIME writes the quoted-printable text to the IO Writer
func writeMIME(w io.Writer, s string) error {
+ // Basic rules (comments to be removed ... | Working on writeMime function (may make this a full encoder later) | jordan-wright_email | train | go |
3a84ff7135def389eb9f361bf94e1205722ad14a | diff --git a/web/concrete/src/Block/Block.php b/web/concrete/src/Block/Block.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Block/Block.php
+++ b/web/concrete/src/Block/Block.php
@@ -1036,9 +1036,6 @@ class Block extends Object implements \Concrete\Core\Permission\ObjectInterface
$q = "delete from ... | remove ComposerContentLayout reference
That I can tell this is not need and gives errors on uninstall when working with packages that install defaultTemplate blocks.
Former-commit-id: b2eec<I>fd8bf5d<I>f7f<I>f2d<I>f<I>c<I>e2eb | concrete5_concrete5 | train | php |
2cf07a483f779d4312691c22ed4159ac855c41af | diff --git a/src/com/google/javascript/jscomp/ClosureRewriteModule.java b/src/com/google/javascript/jscomp/ClosureRewriteModule.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/ClosureRewriteModule.java
+++ b/src/com/google/javascript/jscomp/ClosureRewriteModule.java
@@ -823,6 +823,10 @@ final cl... | Add a missing reportChange call which can lead to a ValidityCheck failure
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
bd6ad8af1fa7cd12684f0287374b9fe71a8c958a | diff --git a/src/Codeception/PHPUnit/ResultPrinter/HTML.php b/src/Codeception/PHPUnit/ResultPrinter/HTML.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/PHPUnit/ResultPrinter/HTML.php
+++ b/src/Codeception/PHPUnit/ResultPrinter/HTML.php
@@ -252,6 +252,23 @@ class HTML extends CodeceptionResultPrinter
$th... | Fixed #<I> - HTML Report marks tests as succeeded (#<I>)
* Fixed #<I>
* Remove whitespace | Codeception_base | train | php |
d23d0398fe3b889064d12941a18bf844497fd46d | diff --git a/backup/backuplib.php b/backup/backuplib.php
index <HASH>..<HASH> 100644
--- a/backup/backuplib.php
+++ b/backup/backuplib.php
@@ -315,7 +315,7 @@
$status = execute_sql("INSERT INTO {$CFG->prefix}backup_files
(backup_code, file_type, pa... | Merged from MOODLE_<I>_STABLE: Escape strings for database. SC # <I> | moodle_moodle | train | php |
3813bd452909ec92835f3c369ba5607094545ec2 | diff --git a/lib/pith/server.rb b/lib/pith/server.rb
index <HASH>..<HASH> 100644
--- a/lib/pith/server.rb
+++ b/lib/pith/server.rb
@@ -12,7 +12,7 @@ module Pith
use Rack::Lint
use Pith::Server::AutoBuild, project
use Adsf::Rack::IndexFileFinder, :root => project.output_dir
- run Rack::... | Serve a directory-listing, if no index-file is found. | mdub_pith | train | rb,rb |
420f7fd507fd5868adc1e0398c2422aac16d2013 | diff --git a/activerecord/test/cases/query_cache_test.rb b/activerecord/test/cases/query_cache_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/query_cache_test.rb
+++ b/activerecord/test/cases/query_cache_test.rb
@@ -170,6 +170,18 @@ end
class QueryCacheExpiryTest < ActiveRecord::TestCase
fixtures... | Added failing test case for changing schema in migration not clearing the prepared statement cache | rails_rails | train | rb |
5a994ed3054c17259c04e7c145dcd69d6279eae0 | diff --git a/test/lib/browser/load-css.js b/test/lib/browser/load-css.js
index <HASH>..<HASH> 100644
--- a/test/lib/browser/load-css.js
+++ b/test/lib/browser/load-css.js
@@ -7,7 +7,7 @@ module.exports = function (t, a, d) {
webmake(`${ pg }/lib/browser-test.js`)(result => {
// eslint-disable-next-line no-eval
... | test: Update up to changes in dependencies | medikoo_modules-webmake | train | js |
573777b399f32f9c58cf358eb1ce09439fc6bec2 | diff --git a/src/Blueprint.php b/src/Blueprint.php
index <HASH>..<HASH> 100644
--- a/src/Blueprint.php
+++ b/src/Blueprint.php
@@ -494,6 +494,20 @@ abstract class Blueprint
}
}
+ /**
+ * Reset the query and source; prep for another pass
+ *
+ */
+ protected function reset() {
+ ... | Changed reset() to protected instead of private; useful when dealing with transformations | sypherlev_blueprint | train | php |
8367b242e514382c958cec8fd670399f7e51a6e3 | diff --git a/salt/loader.py b/salt/loader.py
index <HASH>..<HASH> 100644
--- a/salt/loader.py
+++ b/salt/loader.py
@@ -155,6 +155,10 @@ class Loader(object):
self.grains = opts['grains']
else:
self.grains = {}
+ if 'pillar' in opts:
+ self.pillar = opts['pillar']
+ ... | Add pillar data to the loader | saltstack_salt | train | py |
1d37554a4a500e276b833b67abad27132336ab6a | diff --git a/broqer/op/_operator.py b/broqer/op/_operator.py
index <HASH>..<HASH> 100644
--- a/broqer/op/_operator.py
+++ b/broqer/op/_operator.py
@@ -57,7 +57,7 @@ def build_operator(operator_cls):
The resulting function takes a publisher as argument and returns a new
publisher corresponding the operator f... | pep8 fixes for _operator and accumulate | semiversus_python-broqer | train | py,py |
b72919d79fc3dddd05573df4bce26895d83708bc | diff --git a/lib/wongi-engine/wme.rb b/lib/wongi-engine/wme.rb
index <HASH>..<HASH> 100644
--- a/lib/wongi-engine/wme.rb
+++ b/lib/wongi-engine/wme.rb
@@ -40,7 +40,7 @@ module Wongi::Engine
def =~ template
raise "Cannot match a WME against a #{template.class}" unless Template === template
- result = ... | switched from #send to concrete methods in WME | ulfurinn_wongi-engine | train | rb |
be576c2092f845a2db01e1851db4b36091ca7520 | diff --git a/spec/unit/fetchers/net_fetcher_spec.rb b/spec/unit/fetchers/net_fetcher_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/fetchers/net_fetcher_spec.rb
+++ b/spec/unit/fetchers/net_fetcher_spec.rb
@@ -278,6 +278,10 @@ module Omnibus
let(:cumulative_downloaded_length) { 100 }
+ let(:uri_ope... | Update download mock based on Ruby version
In our code we call .open on a different object based on which version
of Ruby we are using. We need to ensure we reflect that in our tests. | chef_omnibus | train | rb |
64c99b1e374c22b9c4bedc02e4cff241b8800839 | diff --git a/salt/wheel/pillar_roots.py b/salt/wheel/pillar_roots.py
index <HASH>..<HASH> 100644
--- a/salt/wheel/pillar_roots.py
+++ b/salt/wheel/pillar_roots.py
@@ -94,7 +94,7 @@ def write(data, path, env='base', index=0):
'''
if not env in __opts__['pillar_roots']:
return 'Named environment {0} is... | wheel.pillar_roots: not X > Y -> X <= Y | saltstack_salt | train | py |
3239aca69bd940626f3e27ab829fc7fa1c7cdc5e | diff --git a/p2p/server.go b/p2p/server.go
index <HASH>..<HASH> 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -30,7 +30,7 @@ const (
frameReadTimeout = 30 * time.Second
// Maximum amount of time allowed for writing a complete message.
- frameWriteTimeout = 5 * time.Second
+ frameWriteTimeout = 20 * time.Secon... | p2p: bump global write timeout to <I>s
The previous value of 5 seconds causes timeouts for legitimate messages
if large messages are sent. | ethereum_go-ethereum | train | go |
29174508f8ae4e71a4bdbc554d0197c18e58cb03 | diff --git a/spec/rails/view_spec.rb b/spec/rails/view_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rails/view_spec.rb
+++ b/spec/rails/view_spec.rb
@@ -7,7 +7,7 @@ describe "a view" do
end
it "can capture with an erector block" do
- pending("needs some re-work (maybe how haml does it?)")
+ pending("not... | Not sure why capture is not working; reflect this in the pending message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/erector/trunk@<I> 4b<I>b9-<I>f2-<I>-<I>b1-b<I>f<I>b<I>f | erector_erector | train | rb |
4607ab3aeebdfa52444bd0fa57e5d4f0c352a298 | diff --git a/spec/premailer-rails3/hook_spec.rb b/spec/premailer-rails3/hook_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/premailer-rails3/hook_spec.rb
+++ b/spec/premailer-rails3/hook_spec.rb
@@ -2,6 +2,7 @@ require 'spec_helper'
describe PremailerRails::Hook do
describe '.delivering_email' do
+ before { Fi... | Fix a file error in hook specs | fphilipe_premailer-rails | train | rb |
97387a7f80758f043ac38c162b9d5b969e5e088b | diff --git a/lib/rest/client.rb b/lib/rest/client.rb
index <HASH>..<HASH> 100644
--- a/lib/rest/client.rb
+++ b/lib/rest/client.rb
@@ -113,6 +113,8 @@ module Rest
break
rescue Rest::HttpError => ex
if ex.code == 503
+ raise ex if current_retry == max_retries - 1
+
... | Should raise error if max_retries reached. | iron-io_rest | train | rb |
0c5b4c15f880b1e96ac70ced1de2d7d4f989c19e | diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/networking.py
+++ b/sos/report/plugins/networking.py
@@ -268,6 +268,8 @@ class Networking(Plugin):
self.add_cmd_output([
ns_cmd_prefix + "ip address... | [networking] Include ns ip neigh and ip rule info
Resolves: #<I>
Closes: #<I> | sosreport_sos | train | py |
acb326149adffe03fd06aac6515ed58b682f646b | diff --git a/pymc3/tests/test_variational_inference.py b/pymc3/tests/test_variational_inference.py
index <HASH>..<HASH> 100644
--- a/pymc3/tests/test_variational_inference.py
+++ b/pymc3/tests/test_variational_inference.py
@@ -505,7 +505,7 @@ def test_elbo():
# Create variational gradient tensor
mean_field ... | Repair change_flags reference and remove pytest.mark.run decorators
We do not have pytest-ordering in the dependencies and tests should be unordered anyway. | pymc-devs_pymc | 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.